From: Suresh Siddha Date: Mon, 19 Jul 2010 23:05:52 +0000 (-0700) Subject: x86, xsave: Use xsaveopt in context-switch path when supported X-Git-Tag: v2.6.36-rc1~507^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bad06b768920e278c7cedfdda56a0b4c6a35ee9;p=pandora-kernel.git x86, xsave: Use xsaveopt in context-switch path when supported xsaveopt is a more optimized form of xsave specifically designed for the context switch usage. xsaveopt doesn't save the state that's not modified from the prior xrstor. And if a specific feature state gets modified to the init state, then xsaveopt just updates the header bit in the xsave memory layout without updating the corresponding memory layout. Signed-off-by: Suresh Siddha LKML-Reference: <20100719230205.604014179@sbs-t61.sc.intel.com> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed