git: kernel - Change cpu_idle_hlt default

Matthew Dillon dillon at crater.dragonflybsd.org
Fri May 22 10:05:12 PDT 2015


commit c7bf93fbd7b8de81ed30bb74e8e35ecdd3de971e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri May 22 10:03:48 2015 -0700

    kernel - Change cpu_idle_hlt default
    
    * Set cpu_idle_hlt default to 1 for Intel Haswell or later cpus.  These
      cpus do major power management in the HLT instruction.
    
      Leave cpu_idle_hlt default at 2 for AMD cpus or older Intel cpus.
      These cpus do not do major management in the HLT instruction and ACPI
      entry is required to reduce idle power consumption.

Summary of changes:
 sys/platform/pc64/x86_64/machdep.c | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c7bf93fbd7b8de81ed30bb74e8e35ecdd3de971e


-- 
DragonFly BSD source repository


More information about the Commits mailing list