From: Jeremy Fitzhardinge Date: Fri, 24 Apr 2009 08:01:01 +0000 (-0700) Subject: x86-64: move clts into batch cpu state updates when preloading fpu X-Git-Tag: v2.6.32-rc1~709^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17950c5b243f99cbabef173415ee988c52104d7e;p=pandora-kernel.git x86-64: move clts into batch cpu state updates when preloading fpu When a task is likely to be using the fpu, we preload its state during the context switch, rather than waiting for it to run an fpu instruction. Make sure the clts() happens while we're doing batched fpu state updates to optimise paravirtualized context switches. [ Impact: optimise paravirtual FPU context switch ] Signed-off-by: Jeremy Fitzhardinge Cc: Alok Kataria Cc: Rusty Russell --- Reading git-diff-tree failed