release/src/linux/linux/arch/parisc/kernel/process.c
/*
 * The idle thread. There's no useful work to be
 * done, so just try to conserve power and have a
 * low exit latency (ie sit in a loop waiting for
 * somebody to say that they'd like to reschedule)
 */
The idle thread. There's no useful work to be
done, so just try to conserve power and have a
low exit latency
The idle thread . There ' s no useful work to be done so just try to conserve power and have a low exit latency
void cpu_idle(void)
{
	init_idle();
	current->nice = 20;
	current->counter = -100;
	while (1) {
		while (!current->need_resched) {
		}
		schedule();
		check_pgt_cache();
	}
}
void cpu_idle ( void ) { init_idle ( ) ; current -> nice = 20 ; current -> counter = -100 ; while ( 1 ) { while ( ! current -> need_resched ) { } schedule ( ) ; check_pgt_cache ( ) ; } }
The idle thread.
The idle thread .
/* endless idle loop with no priority at all */