Best looking code to transfer to a t-shirt
Hi Maciej
Quoted 2 lines · Maciej Soltysiak
Hi,
[...]
Quoted 2 lines
How about we have a poll of the most frightening pieces of the kernel ? What are your ideas?
Do you like this one?
/*
* We use this if we don't have any better
* idle routine..
*/
void default_idle(void)
{
if (current_cpu_data.hlt_works_ok && !hlt_counter) {
__cli();
if (!current->need_resched)
safe_halt();
else
__sti();
}
}Ulisses
Debian GNU/Linux: a dream come true
-----------------------------------------------------------------------------
"Computers are useless. They can only give answers." Pablo Picasso
---> Visita http://www.valux.org/ para saber acerca de la <---
---> Asociación Valenciana de Usuarios de Linux <---