]> git.karo-electronics.de Git - linux-beck.git/commit
x86/xsaves: Enable xsaves/xrstors
authorFenghua Yu <fenghua.yu@intel.com>
Thu, 29 May 2014 18:12:43 +0000 (11:12 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 29 May 2014 21:33:07 +0000 (14:33 -0700)
commit7e7ce87f6ad4e1730364e5e76628b43c5759b700
treed22269d21df21bf4f10f8e7f03ffcc3ecc87be3b
parent47c2f292cc8669f70644a949cadd5fa5ee0e0e07
x86/xsaves: Enable xsaves/xrstors

If xsaves/xrstors is enabled, compacted format of xsave area will be used
and less memory may be used for context per process. And modified
optimization implemented in xsaves/xrstors improves performance of saving
xstate.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1401387164-43416-16-git-send-email-fenghua.yu@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/xsave.c