Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3)

From: David Rientjes
Date: Tue Aug 17 2010 - 14:54:49 EST


On Tue, 17 Aug 2010, Christoph Lameter wrote:

> > I didn't know if that was a debugging patch for me or if you wanted to
> > push that as part of your series, I'm not sure if you actually need to
> > move it to kmem_cache_init() now that slub_state is protected by
> > slub_lock. I'm not sure if we want to allocate DMA objects between
> > kmem_cache_init() and kmem_cache_init_late().
>
> Drivers may allocate dma buffers during initialization.
>

Ok, I moved the DMA cache creation from kmem_cache_init_late() to
kmem_cache_init(). Note: the kasprintf() will need to use GFP_NOWAIT and
not GFP_KERNEL now.
--
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/