]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve cpu_idle():
authormarcel <marcel@FreeBSD.org>
Mon, 6 Jun 2011 19:06:15 +0000 (19:06 +0000)
committermarcel <marcel@FreeBSD.org>
Mon, 6 Jun 2011 19:06:15 +0000 (19:06 +0000)
commitb85f2958405471837cf29da0149697935f47e464
treeaa44b9eae54b3faaf88b0f579422ade75d862e10
parent2157ebafe521d9b08c3b5fc99e5f19eac4530377
Improve cpu_idle():
o   cpu_idle_hook is expected to be called with interrupts
    disabled and re-enables interrupts on return.
o   sync with x86: don't idle when the CPU has runnable tasks
o   have callers of ia64_call_pal_static() disable interrupts
    and re-enable interrupts.
o   add, but compile-out, support for idle mode. This will be
    enabled at some later time, after proper testing.
sys/ia64/acpica/acpi_machdep.c
sys/ia64/ia64/machdep.c
sys/ia64/ia64/pal.S