Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [GIT PULL] scheduler fixes | Date | Tue, 19 May 2009 21:57:00 +0930 |
| |
On Tue, 19 May 2009 07:36:26 am Linus Torvalds wrote: > > One of the biggest user of bootmem is the mem_map[] hierarchies and > > the page allocator bitmaps. Not sure we can get rid of bootmem there > > - those areas are really large, physical memory is often fragmented > > and we need a good NUMA sense for them as well. > > I think that's the _valid_ kind of use of a bootmem allocator. > > But for something like the scheduler data structures? Not so much.
Yeah, and it feels dirty to use slab_is_available() to figure if the code should kmalloc or alloc_bootmem.
Ideally kmalloc/kfree would "always work". But at least we could get closer.
Thanks, Rusty.
| |