Re: [PATCH -mm v2 1/3] slub: never fail to shrink cache

From: Christoph Lameter
Date: Wed Jan 28 2015 - 16:09:35 EST


On Wed, 28 Jan 2015, Vladimir Davydov wrote:

> + /* We do not keep full slabs on the list */
> + BUG_ON(free <= 0);

Well sorry we do actually keep a number of empty slabs on the partial
lists. See the min_partial field in struct kmem_cache.

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