Re: [RFC] slub: Simplify boot kmem_cache_cpu allocations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, Christoph.

On 06/15/2010 09:11 PM, Christoph Lameter wrote:
> Maybe this one can also be applied after the other patch?
> 
> Tejun: Is it somehow possible to reliably use the alloc_percpu() on all
> platforms during early boot before the slab allocator is up?

Hmmm... first chunk allocation is done using bootmem, so if we give it
enough to room (for both chunk itself and alloc map) so that it can
serve till slab comes up, it should work fine.  I think what's
important here is making up our minds and decide on how to order them.
If the order is well defined, things can be made to work one way or
the other.  What happened to the get-rid-of-bootmem effort?  Wouldn't
that also interact with this?

Thanks.

-- 
tejun

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]