summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2011-04-01 15:46:09 -0400
committerLen Brown <len.brown@intel.com>2011-05-29 03:39:17 -0400
commit5d4c47e0195b989f284907358bd5c268a44b91c7 (patch)
tree3a7c81ff3b3f5a5eb6199044a72c0145b58db413 /drivers
parentcdaab4a0d330f70c0e5ad8c3f7c65c2e375ea180 (diff)
downloadlwn-5d4c47e0195b989f284907358bd5c268a44b91c7.tar.gz
lwn-5d4c47e0195b989f284907358bd5c268a44b91c7.zip
x86 idle: deprecate mwait_idle() and "idle=mwait" cmdline param
mwait_idle() is a C1-only idle loop intended to be more efficient than HLT on SMP hardware that supports it. But mwait_idle() has been replaced by the more general mwait_idle_with_hints(), which handles both C1 and deeper C-states. ACPI uses only mwait_idle_with_hints(), and never uses mwait_idle(). Deprecate mwait_idle() and the "idle=mwait" cmdline param to simplify the x86 idle code. After this change, kernels configured with (!CONFIG_ACPI=n && !CONFIG_INTEL_IDLE=n) when run on hardware that support MWAIT will simply use HLT. If MWAIT is desired on those systems, cpuidle and the cpuidle drivers above can be used. cc: x86@kernel.org cc: stable@kernel.org # .39.x Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions