Re: [linux-next-20130422] Bug in SLAB?

From: Pekka Enberg
Date: Mon May 06 2013 - 02:32:56 EST


On Fri, May 3, 2013 at 9:04 PM, Christoph Lameter <cl@xxxxxxxxx> wrote:
> Enabling various debugging options increases the size of structures and
> the subslab handling in SLABs kmem_cache_create will start to fail.
>
>
> Here is a fix for that:
>
> Subject: Fix bootstrap creation of kmalloc caches
>
> For SLAB the kmalloc caches must be created in ascending sizes
> in order for the OFF_SLAB sub-slab cache to work properly.
>
> Create the non power of two caches immediately after the prior power
> of two kmalloc cache. Do not create the non power of two caches
> before all other caches.
>
> Signed-off-by: Christoph Lamete <cl@xxxxxxxxx>

This doesn't seem to apply against slab/next branch. What tree did you
use to generate the patch?

Pekka
--
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/