From: Jeremy Fitzhardinge Date: Fri, 24 Apr 2009 07:45:26 +0000 (-0700) Subject: x86-32: make sure clts is batched during context switch X-Git-Tag: v2.6.32-rc1~709^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fcddce10f6771cfa0c56fd1e826d50d67d100b7;p=pandora-kernel.git x86-32: make sure clts is batched during context switch If we're preloading the fpu state during context switch, make sure the clts happens while we're batching the cpu context update, then do the actual __math_state_restore once the updates are flushed. This allows more efficient context switches when running paravirtualized, as all the hypercalls can be folded together into one. [ Impact: optimise paravirtual FPU context switch ] Signed-off-by: Jeremy Fitzhardinge Cc: Alok Kataria Cc: Rusty Russell --- Reading git-diff-tree failed