Re: [PATCH RFC] x86: add brk allocation for very, very early allocations

From: Jeremy Fitzhardinge
Date: Fri Feb 27 2009 - 16:02:56 EST


Yinghai Lu wrote:
it seems reserve _brk_end is some late?

init_memory_mapping(0,...) could get some for direct mapping page table. and it could start from _end...

Ah, thanks! I was confused by the use of reserve_early() in initmem_init(), but they're OK because they allocate out of the e820 map at that point (and init_memory_mapping() reserves everything it allocates).

I'll give it a whirl.

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