[PATCH 0/5] x86/paravirt: clean up paravirt.h and optimise FPU context switch

From: Jeremy Fitzhardinge
Date: Thu Jun 11 2009 - 15:21:29 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/