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

From: Jan Beulich
Date: Mon Jan 14 2008 - 11:06:31 EST


>>> Ingo Molnar <mingo@xxxxxxx> 14.01.08 16:48 >>>
>
>* 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.

Sure, but it may take me a little while.

Jan

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