On Fri, Feb 16, 2007 at 12:02:08PM -0500, Jason Lunz wrote: > I agree - I have only a vague idea about what uml_reserved means.
This is ancient code - after a quick look through it, I think what is happening is this: Early in boot, there are both libc and kernel (bootmem) memory allocations happening. We can't redirect malloc to kmalloc yet, so mallocs are allowed to happen until kmalloc is running. This requires that the memory setup code leave some empty room in the address space for malloc to grow into. The end of this area is uml_reserved. When we are ready to turn on kmalloc, the rest of UML physical memory (beyond uml_reserved) was already available to the bootmem allocator, and it is just released to the page allocator. The area that wasn't malloced by libc is released separately to the page allocator. At that point, uml_reserved loses its meaning, since memory on either side of it is treated identically by the page allocator. > Jeff, please drop my other patch and use this one. OK. Jeff -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel