x86, fpu: enable eagerfpu by default for xsaveopt
authorSuresh Siddha <suresh.b.siddha@intel.com>
Thu, 6 Sep 2012 22:05:18 +0000 (15:05 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 18 Sep 2012 22:52:23 +0000 (15:52 -0700)
commit212b02125f3725127148475059a70031bd031bdb
tree9505ae1f2d35ee9c803c0d3e64451b41db9ccb8b
parent5d2bd7009f306c82afddd1ca4d9763ad8473c216
x86, fpu: enable eagerfpu by default for xsaveopt

xsaveopt/xrstor support optimized state save/restore by tracking the
INIT state and MODIFIED state during context-switch.

Enable eagerfpu by default for processors supporting xsaveopt.
Can be disabled by passing "eagerfpu=off" boot parameter.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Link: http://lkml.kernel.org/r/1347300665-6209-3-git-send-email-suresh.b.siddha@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Documentation/kernel-parameters.txt
arch/x86/include/asm/cpufeature.h
arch/x86/kernel/xsave.c