On Wed, 8 Aug 2012, Glauber Costa wrote: > On 08/03/2012 11:21 PM, Christoph Lameter wrote: > > Shift the allocations to common code. That way the allocation > > and freeing of the kmem_cache structures is handled by common code. > > > > V1-V2: Use the return code from setup_cpucache() in slab instead of returning -ENOSPC > > This patch doesn't even boot! (slub) Yup the test in create kmalloc slab needs to do the opposite. A later patch removes that code. Fixed.