Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2001 15:57:55 +0100
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        hackers@FreeBSD.org
Subject:   apm_cpu_idle() is not being used... why?
Message-ID:  <3A87F9F3.459E942B@we.lc.ehu.es>

next in thread | raw e-mail | index | archive | help
Hello,

The discussion originated a few days ago in -mobile about some problems
with the Dell Inspiron fan reminded me of an old question about APM and
idle cycles: why is apm_cpu_idle() not used at all in the kernel? I have
just checked NetBSD and OpenBSD's sys/arch/i386/i386/locore.s and both
cousins have calls to apm_cpu_idle() and apm_cpu_busy(). Could this be
related to SMP support or something? I revised the CVS history of our
locore.s and, although some time ago it did the APM initialization,
I didn't find any references to apm_cpu_{idle,busy}(). This is a matter
of curiosity, so any explanation will be very welcome :-)

Cheers,
-- JMA
****** Jose M. Alcaide  //  jose@we.lc.ehu.es  //  jmas@FreeBSD.org ******
** "Beware of Programmers who carry screwdrivers" --  Leonard Brandwein **


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A87F9F3.459E942B>