diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-04-24 08:01:01 (GMT) |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-06-17 20:27:58 (GMT) |
commit | 17950c5b243f99cbabef173415ee988c52104d7e (patch) | |
tree | f2df6943769456b789b228243544a0307544f926 /block/blk-exec.c | |
parent | 16d9dbf0c2bd167fdd942b83592d59696c7b73bd (diff) | |
download | linux-fsl-qoriq-17950c5b243f99cbabef173415ee988c52104d7e.tar.xz |
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 <jeremy.fitzhardinge@citrix.com>
Cc: Alok Kataria <akataria@vmware.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'block/blk-exec.c')
0 files changed, 0 insertions, 0 deletions