kernel - Change cpu_idle_hlt default for modern amd cpus.
authorImre Vadász <imre@vdsz.com>
Thu, 7 Jul 2016 21:37:00 +0000 (23:37 +0200)
committerImre Vadász <imre@vdsz.com>
Thu, 7 Jul 2016 21:37:00 +0000 (23:37 +0200)
commitedca023af7a0368bd36e8ef9665d631bbd4c831b
tree415952d24b012658992844e7baa9b877f9a8e8ad
parentea5bffb971d7550d5c51a5b7abd6920663223b27
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.
sys/platform/pc64/x86_64/machdep.c