git: kernel - Change cpu_idle_hlt default for modern amd cpus.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Thu Jul 7 23:36:34 PDT 2016


commit edca023af7a0368bd36e8ef9665d631bbd4c831b
Author: Imre Vadász <imre at vdsz.com>
Date:   Thu Jul 7 23:37:00 2016 +0200

    kernel - Change cpu_idle_hlt default for modern amd cpus.
    
    * Set cpu_idle_hlt=3 for AMD Bobcat and later (which includes any Bulldozer
      cpus and apus as well). These cpus do major power management in HLT or ACPI,
      but cpu_idle_hlt=1 would try to use MWAIT. Also wakeup times should be
      fast enough to make cpu_idle_hlt=2 unnecessary.

Summary of changes:
 sys/platform/pc64/x86_64/machdep.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list