Today, Peter Cavender gleaned this insight:

> >   Incorrect.  Please reference Derek Martin's previous post in this thread,
> > where he mentions how Linux idles the CPU when it is not busy, 
> 
> 
> PLEASE REFERENCE LINES IN KERNEL SOURCE, or relevant modules.


/usr/src/linux/arch/i386/kernel/apm.c:

#ifdef CONFIG_APM_CPU_IDLE
static int apm_do_idle(void)
{
        u32     dummy;

        if (apm_bios_call_simple(APM_FUNC_IDLE, 0, 0, &dummy))
                return 0;

#ifdef ALWAYS_CALL_BUSY
        clock_slowed = 1;
#else
        clock_slowed = (apm_bios_info.flags & APM_IDLE_SLOWS_CLOCK) != 0;
#endif
        return 1;
}


Reply via email to