Date: Sat, 5 Jun 2004 07:02:18 +0000 (GMT) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi_cpu.c src/share/man/man4 acpi.4 Message-ID: <200406050702.i5572IYw001549@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2004/06/05 07:02:18 GMT
FreeBSD src repository
Modified files:
sys/dev/acpica acpi_cpu.c
share/man/man4 acpi.4
Log:
Rework acpi_cpu_idle() to select the next idle state before sleeping, not
after. Unify the paths for all Cx states. Remove cpu_idle_busy and
instead do the little profiling we need before re-enabling interrupts.
Use 1 quantum as estimate for C1 sleep duration since the timer interrupt
is the main reason we wake.
While here, change the cx_history sysctl to cx_usage and report statistics
for which idle states were used in terms of percent. This seems more
intuitive than counters. Remove the cx_stats structure since it's no
longer used. Update the man page.
Change various types which do not need explicit size.
Revision Changes Path
1.35 +4 -5 src/share/man/man4/acpi.4
1.39 +79 -110 src/sys/dev/acpica/acpi_cpu.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406050702.i5572IYw001549>
