kernel - Change cpu_idle_hlt default
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 22 May 2015 17:03:48 +0000 (10:03 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 22 May 2015 17:03:48 +0000 (10:03 -0700)
commitc7bf93fbd7b8de81ed30bb74e8e35ecdd3de971e
tree6c495ba0930ca91ac712d9402c1197adfb712526
parent0a61bbb3572074bd0c2cecc407cc5416866a26f2
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.
sys/platform/pc64/x86_64/machdep.c