git: x86_64: Add new sysctls to set idle/spin mwait hint
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri Jan 31 05:01:41 PST 2014
commit 29b3380024526fcc6e9c163df6abfc37f0587d77
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Fri Jan 31 20:02:08 2014 +0800
x86_64: Add new sysctls to set idle/spin mwait hint
These sysctls verify that the mwait hint is supported. It's format is:
C-state/sub-state. The valid one could be picked up from the output of
sysctl machdep.mwait.CX.supported.
Sysctls hw.cpu_mwait_{halt,spin} should be deprecated.
While I'm here, rearrange cpu_mwait_hint_valid() a little bit.
Summary of changes:
sys/platform/pc64/x86_64/machdep.c | 75 +++++++++++++++++++++++++++++++++++---
1 file changed, 70 insertions(+), 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/29b3380024526fcc6e9c163df6abfc37f0587d77
--
DragonFly BSD source repository
More information about the Commits
mailing list