Re: [PATCH] slub: try to get cpu partial slab even if we get enoughobjects for cpu freelist

From: Christoph Lameter
Date: Wed Aug 15 2012 - 11:45:03 EST


On Thu, 16 Aug 2012, Joonsoo Kim wrote:

> s->cpu_partial determine the maximum number of objects kept
> in the per cpu partial lists of a processor. Currently, it is used for
> not only per cpu partial list but also cpu freelist. Therefore
> get_partial_node() doesn't work properly according to our first intention.

The "cpu freelist" in slub is the number of free objects in a specific
page. There is nothing that s->cpu_partial can do about that.

Maybe I do not understand you correctly. Could you explain this in some
more detail?
--
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/