linux/arch/x86/xen
Jan Beulich 4dbf7af644 x86: adjust/fix LDT handling for Xen
Based on patch from Jan Beulich <jbeulich@novell.com>.

Don't rely on kmalloc(PAGE_SIZE) returning PAGE_SIZE aligned memory
(Xen requires GDT *and* LDT to be page-aligned). Using the page
allocator interface also removes the (albeit small) slab allocator
overhead. The same change being done for 64-bits for consistency.

Further, the Xen hypercall interface expects the LDT address to be
virtual, not machine.

[ Adjusted to unified ldt.c - Jeremy ]

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:33:14 +01:00
..
enlighten.c x86: adjust/fix LDT handling for Xen 2008-01-30 13:33:14 +01:00
events.c x86: remove all definitions with fastcall 2008-01-30 13:31:17 +01:00
features.c i386: move xen 2007-10-11 11:16:51 +02:00
Kconfig Normalize config options for guest support 2007-10-23 15:49:47 +10:00
Makefile i386: move xen 2007-10-11 11:16:51 +02:00
manage.c i386: move xen 2007-10-11 11:16:51 +02:00
mmu.c xen: mask out PWT too 2008-01-30 13:32:58 +01:00
mmu.h i386: move xen 2007-10-11 11:16:51 +02:00
multicalls.c xen: add some debug output for failed multicalls 2007-10-16 11:51:31 -07:00
multicalls.h xen: add batch completion callbacks 2007-10-16 11:51:30 -07:00
setup.c x86 vDSO: consolidate vdso32 2008-01-30 13:30:43 +01:00
smp.c x86: use generic register name in the thread and tss structures 2008-01-30 13:31:02 +01:00
time.c xen: yield to IPI target if necessary 2007-10-16 11:51:30 -07:00
vdso.h i386: move xen 2007-10-11 11:16:51 +02:00
xen-asm.S i386: move xen 2007-10-11 11:16:51 +02:00
xen-head.S i386: move xen 2007-10-11 11:16:51 +02:00
xen-ops.h xen: deal with stale cr3 values when unpinning pagetables 2007-10-16 11:51:30 -07:00