Add idle entry halt vs spin statistics counters machdep.cpu_idle_*,
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 30 Dec 2003 03:19:04 +0000 (03:19 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 30 Dec 2003 03:19:04 +0000 (03:19 +0000)
commit60f945afef67a20afb8f82f0643e551755c5c25f
tree476063af33a3ae9f560e9de109cbcfb2bd7bf84c
parent583f2dbcd7f1c1a1619feafa3982a01be08273e4
Add idle entry halt vs spin statistics counters machdep.cpu_idle_*,
Clear the reschedule flag in chooseproc() to prevent stale reschedule
requests from causing double-reschedules, and only disable HLT when a
system interrupt is pending (verses non critical process requests which
do not apply to the idle thread).

Problem focused in by: YONETANI Tomokazu <qhwt+dragonfly-kernel@les.ath.cx>
sys/i386/i386/machdep.c
sys/kern/kern_switch.c
sys/kern/lwkt_thread.c
sys/platform/pc32/i386/machdep.c
sys/sys/globaldata.h