Re: [PATCH -mm] slub: kmem_cache_shrink: init discard list after freeing slabs

From: Christoph Lameter
Date: Wed Feb 11 2015 - 10:44:40 EST


On Wed, 11 Feb 2015, Vladimir Davydov wrote:

> > Also the promote array should also be initialized in the loop right?
>
> I do initialize promote lists in the loop using list_splice_init, but
> yeah, initializing them in the beginning of the loop would look more
> readable indeed. The updated patch is below. Thanks!

Acked-by: Christoph Lameter <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/