Re: slub: Lockout validation scans during freeing of object

From: David Rientjes
Date: Wed Dec 14 2011 - 22:14:08 EST


On Mon, 12 Dec 2011, Pekka Enberg wrote:

> > Subject: slub: Lockout validation scans during freeing of object
> >
> > Slab validation can run right now while the slab free paths prepare
> > the redzone fields etc around the objects in preparation of the
> > actual freeing of the object. This can lead to false positives.
> >
> > Take the node lock unconditionally during free so that the validation
> > can examine objects without them being disturbed by freeing operations.
> >
> > Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
--
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/