Messages in this thread | | | Date | Fri, 12 Jun 2009 09:44:04 -0400 (EDT) | From | Christoph Lameter <> | Subject | Re: slab: setup allocators earlier in the boot sequence |
| |
On Fri, 12 Jun 2009, Pekka Enberg wrote:
> Yes, you're obviously right. I overlooked the fact that arch code have > their own special slab_is_available() heuristics (yikes!).
Thats another area where we would need some cleanup in the future. The slab_is_available() has become a check for the end of the use of bootmem.
What would be clearer is to have something like
allocator_bootstrap_complete()
to tell us that all memory allocators are available (slab, page, percpu, vmalloc);
| |