diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-04-24 09:45:26 +0200 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-06-17 22:21:25 +0200 |
commit | 2fcddce10f6771cfa0c56fd1e826d50d67d100b7 (patch) | |
tree | 08a1a21922509b9ba3b896dfc1951a6d0ab0d8f4 /arch/x86/include | |
parent | x86: split out core __math_state_restore (diff) | |
download | linux-2fcddce10f6771cfa0c56fd1e826d50d67d100b7.tar.xz linux-2fcddce10f6771cfa0c56fd1e826d50d67d100b7.zip |
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 <jeremy.fitzhardinge@citrix.com>
Cc: Alok Kataria <akataria@vmware.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions