Ingo Molnar wrote:
* Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote:
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.
I've got the unified version here.
thanks, applied.
* Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote:
>>> 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.
>
> I've got the unified version here.
thanks, applied.
> Acked-by: Jeremy Fit
Jan Beulich wrote:
Ingo Molnar <[EMAIL PROTECTED]> 14.01.08 16:48 >>>
* Jan Beulich <[EMAIL PROTECTED]> 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
>>> Ingo Molnar <[EMAIL PROTECTED]> 14.01.08 16:48 >>>
>
>* Jan Beulich <[EMAIL PROTECTED]> 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) sla
* Jan Beulich <[EMAIL PROTECTED]> 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-bi
>>> Jeremy Fitzhardinge <[EMAIL PROTECTED]> 11.01.08 18:28 >>>
>Jan Beulich wrote:
>> Don't rely on kmalloc(PAGE_SIZE) returning PAGE_SIZE aligned memory
>> (Xen requires GDT *and* LDT to be page-aligned).
>
>Can kmalloc return non-page-aligned PAGE_SIZE allocations?
Documentation says it's to ret
Jan Beulich wrote:
Don't rely on kmalloc(PAGE_SIZE) returning PAGE_SIZE aligned memory
(Xen requires GDT *and* LDT to be page-aligned).
Can kmalloc return non-page-aligned PAGE_SIZE allocations?
Using the page
allocator interface also removes the (albeit small) slab allocator
overhead.
Run
>> --- linux-2.6.24-rc7/arch/x86/kernel/ldt_32.c2008-01-10
>> 16:53:54.0 +0100
>> +++ 2.6.24-rc7-x86-xen-ldt/arch/x86/kernel/ldt_32.c 2008-01-09
>> 13:59:50.0 +0100
>[...]
>> @@ -73,7 +72,7 @@ static int alloc_ldt(mm_context_t *pc, u
>> if (oldsize*LDT_ENTRY_
On 01/11/2008 10:22 AM, Jan Beulich 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 co
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 interf
10 matches
Mail list logo