cvs commit: src/sys/amd64/amd64 machdep.c src/sys/amd64/include
pcpu.h src/sys/arm/arm machdep.c src/sys/i386/i386 machdep.c
src/sys/i386/include pcpu.h src/sys/ia64/ia64 machdep.c
src/sys/kern sched_4bsd.c sched_ule.c src/sys/mips/mips machdep.c ...
Jeff Roberson
jeff at FreeBSD.org
Fri Apr 25 05:18:52 UTC 2008
jeff 2008-04-25 05:18:50 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 machdep.c
sys/amd64/include pcpu.h
sys/arm/arm machdep.c
sys/i386/i386 machdep.c
sys/i386/include pcpu.h
sys/ia64/ia64 machdep.c
sys/kern sched_4bsd.c sched_ule.c
sys/mips/mips machdep.c
sys/pc98/pc98 machdep.c
sys/powerpc/aim machdep.c
sys/powerpc/booke machdep.c
sys/sparc64/sparc64 machdep.c
sys/sun4v/sun4v machdep.c
sys/sys proc.h
Log:
- Add an integer argument to idle to indicate how likely we are to wake
from idle over the next tick.
- Add a new MD routine, cpu_wake_idle() to wakeup idle threads who are
suspended in cpu specific states. This function can fail and cause the
scheduler to fall back to another mechanism (ipi).
- Implement support for mwait in cpu_idle() on i386/amd64 machines that
support it. mwait is a higher performance way to synchronize cpus
as compared to hlt & ipis.
- Allow selecting the idle routine by name via sysctl machdep.idle. This
replaces machdep.cpu_idle_hlt. Only idle routines supported by the
current machine are permitted.
Sponsored by: Nokia
Revision Changes Path
1.686 +171 -40 src/sys/amd64/amd64/machdep.c
1.49 +1 -0 src/sys/amd64/include/pcpu.h
1.31 +8 -1 src/sys/arm/arm/machdep.c
1.670 +169 -40 src/sys/i386/i386/machdep.c
1.51 +1 -0 src/sys/i386/include/pcpu.h
1.238 +8 -1 src/sys/ia64/ia64/machdep.c
1.125 +1 -1 src/sys/kern/sched_4bsd.c
1.244 +9 -5 src/sys/kern/sched_ule.c
1.3 +8 -1 src/sys/mips/mips/machdep.c
1.405 +8 -1 src/sys/pc98/pc98/machdep.c
1.114 +8 -1 src/sys/powerpc/aim/machdep.c
1.5 +8 -1 src/sys/powerpc/booke/machdep.c
1.141 +8 -1 src/sys/sparc64/sparc64/machdep.c
1.18 +8 -1 src/sys/sun4v/sun4v/machdep.c
1.512 +2 -1 src/sys/sys/proc.h
More information about the cvs-all
mailing list