public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] x86/paravirt: clean up paravirt.h and optimise FPU context switch
@ 2009-06-11 19:20 Jeremy Fitzhardinge
  2009-06-11 19:20 ` [PATCH 1/5] x86/paravirt: split paravirt definitions into paravirt_types.h Jeremy Fitzhardinge
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Jeremy Fitzhardinge @ 2009-06-11 19:20 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: the arch/x86 maintainers, Linux Kernel Mailing List

Hi Ingo,

This series:
 - splits asm/paravirt.h into paravirt.h and paravirt_types.h
 - splits out the context switch core of math_state_restore into __math_state_restore
 - rearranges 32 and 64 bit context switch to be the same and to properly
   batch FPU context switches when running paravirtualized

There should be no performance side-effects of these changes.  They amount
to a small rearrangement of the existing code (and bringing the 64-bit
code a bit closer to 32-bit, countering some genetic drift).

I think these are probably safe to go into this merge window, but I
don't think I've posted these before, so I understand if you're hesitant
(I've had them applied locally for some time with no ill-effects).
The paravirt cleanup is pure movement between headers, so I don't think
there's much risk there at all.

 arch/x86/include/asm/i387.h           |    1 +
 arch/x86/include/asm/paravirt.h       |  711 +--------------------------------
 arch/x86/include/asm/paravirt_types.h |  720 +++++++++++++++++++++++++++++++++
 arch/x86/kernel/process_32.c          |   27 +-
 arch/x86/kernel/process_64.c          |   33 +-
 arch/x86/kernel/traps.c               |   33 +-
 6 files changed, 782 insertions(+), 743 deletions(-)

Thanks,
	J


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-06-12 16:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-11 19:20 [PATCH 0/5] x86/paravirt: clean up paravirt.h and optimise FPU context switch Jeremy Fitzhardinge
2009-06-11 19:20 ` [PATCH 1/5] x86/paravirt: split paravirt definitions into paravirt_types.h Jeremy Fitzhardinge
2009-06-11 19:20 ` [PATCH 2/5] x86: split out core __math_state_restore Jeremy Fitzhardinge
2009-06-11 19:20 ` [PATCH 3/5] x86-32: make sure clts is batched during context switch Jeremy Fitzhardinge
2009-06-11 19:20 ` [PATCH 4/5] x86-64: move unlazy_fpu() into lazy cpu state part of " Jeremy Fitzhardinge
2009-06-11 19:20 ` [PATCH 5/5] x86-64: move clts into batch cpu state updates when preloading fpu Jeremy Fitzhardinge
2009-06-12 11:29 ` [PATCH 0/5] x86/paravirt: clean up paravirt.h and optimise FPU context switch Ingo Molnar
2009-06-12 16:55   ` Jeremy Fitzhardinge
2009-06-12 12:37 ` Ingo Molnar
2009-06-12 16:08   ` Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox