Re: [PATCH v2] Fix handling of memreserve if the range lands in highmem

2008-01-23 Thread Paul Mackerras
Kumar Gala writes: > There were several issues if a memreserve range existed and happened > to be in highmem: > > * The bootmem allocator is only aware of lowmem so calling > reserve_bootmem with a highmem address would cause a BUG_ON > * All highmem pages were provided to the buddy allocator >

[PATCH v2] Fix handling of memreserve if the range lands in highmem

2008-01-09 Thread Kumar Gala
There were several issues if a memreserve range existed and happened to be in highmem: * The bootmem allocator is only aware of lowmem so calling reserve_bootmem with a highmem address would cause a BUG_ON * All highmem pages were provided to the buddy allocator Added a lmb_is_reserved() api th