diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2008-04-25 05:18:50 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2008-04-25 05:18:50 +0000 |
commit | 6c47aaae12ea84af9d94e32796fccb873af36a0e (patch) | |
tree | ae275695b8c2f48f9a96c11fe4405ef85fe1bc79 /cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/tst.subr.d | |
parent | da28723ecdadd53c99985663adae9c96f049c449 (diff) | |
download | src-6c47aaae12ea84af9d94e32796fccb873af36a0e.tar.gz src-6c47aaae12ea84af9d94e32796fccb873af36a0e.zip |
- 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
Notes
Notes:
svn path=/head/; revision=178471
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/tst.subr.d')
0 files changed, 0 insertions, 0 deletions