Re: [PATCH] adjust/fix LDT handling for Xen

From: Ingo Molnar
Date: Mon Jan 14 2008 - 10:48:48 EST



* Jan Beulich <jbeulich@xxxxxxxxxx> wrote:

> 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.

coul dyou try this against x86.git as well? We already unified ldt.c as
part of the paravirt patches.

Ingo
--
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/