Re: [PATCH] slub: do not put a slab to cpu partial list whencpu_partial is 0

From: Christoph Lameter
Date: Wed Jun 19 2013 - 10:25:51 EST


On Wed, 19 Jun 2013, Joonsoo Kim wrote:

> In free path, we don't check number of cpu_partial, so one slab can
> be linked in cpu partial list even if cpu_partial is 0. To prevent this,
> we should check number of cpu_partial in put_cpu_partial().

Acked-by: Christoph Lameeter <cl@xxxxxxxxx>

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