git: x86_64: Make sysctl hw.cpu_mwait_halt read only

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Feb 6 04:41:01 PST 2014


commit 765f099124642e25f9520815c5e6a0214bde6d97
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Feb 6 19:46:22 2014 +0800

    x86_64: Make sysctl hw.cpu_mwait_halt read only
    
    Sysctl machdep.mwait.CX.idle should be used to configure mwait hint.
    
    Manipulate mwait hint value directly through hw.cpu_mwait_halt is not
    safe, e.g. intr cputimer may need change for deep cpu specific C-state.

Summary of changes:
 sys/platform/pc64/x86_64/machdep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/765f099124642e25f9520815c5e6a0214bde6d97


-- 
DragonFly BSD source repository



More information about the Commits mailing list