Re: [PATCH x86] [6/16] Add a new arch_early_alloc() interface for x86-64

2008-01-03 Thread Andi Kleen
> > + /* Risk filling the DMA zone */ > > + p = find_e820_area(EARLY_ALLOC_START, -1UL, size); > > Hum... Are you sure of this EARLY_ALLOC_START here ? Good catch. I'll repost with that fixed. -Andi -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH x86] [6/16] Add a new arch_early_alloc() interface for x86-64

2008-01-03 Thread Eric Dumazet
On Thu, 3 Jan 2008 16:42:20 +0100 (CET) Andi Kleen <[EMAIL PROTECTED]> wrote: > > This allows to allocate memory really early before bootmem is setup. > > And a symbol that can be tested by the preprocessor. > > pgtable.h is probably not the best include for it, but also not the worst. > >

[PATCH x86] [6/16] Add a new arch_early_alloc() interface for x86-64

2008-01-03 Thread Andi Kleen
This allows to allocate memory really early before bootmem is setup. And a symbol that can be tested by the preprocessor. pgtable.h is probably not the best include for it, but also not the worst. Cc: [EMAIL PROTECTED] Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> ---

[PATCH x86] [6/16] Add a new arch_early_alloc() interface for x86-64

2008-01-03 Thread Andi Kleen
This allows to allocate memory really early before bootmem is setup. And a symbol that can be tested by the preprocessor. pgtable.h is probably not the best include for it, but also not the worst. Cc: [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] ---

Re: [PATCH x86] [6/16] Add a new arch_early_alloc() interface for x86-64

2008-01-03 Thread Eric Dumazet
On Thu, 3 Jan 2008 16:42:20 +0100 (CET) Andi Kleen [EMAIL PROTECTED] wrote: This allows to allocate memory really early before bootmem is setup. And a symbol that can be tested by the preprocessor. pgtable.h is probably not the best include for it, but also not the worst. Cc: [EMAIL

Re: [PATCH x86] [6/16] Add a new arch_early_alloc() interface for x86-64

2008-01-03 Thread Andi Kleen
+ /* Risk filling the DMA zone */ + p = find_e820_area(EARLY_ALLOC_START, -1UL, size); Hum... Are you sure of this EARLY_ALLOC_START here ? Good catch. I'll repost with that fixed. -Andi -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the