Re: SLUB regression in current Linus

From: Christoph Lameter
Date: Wed May 25 2011 - 12:30:01 EST


On Wed, 25 May 2011, Eric Dumazet wrote:

> > Index: linux-2.6/mm/slub.c
> > ===================================================================
> > --- linux-2.6.orig/mm/slub.c 2011-05-25 09:41:27.000000000 -0500
> > +++ linux-2.6/mm/slub.c 2011-05-25 09:41:39.000000000 -0500
> > @@ -1884,7 +1884,8 @@ debug:
> > deactivate_slab(s, c);
> > c->page = NULL;
>
> is this c->page = NULL; really necessary ?

No. deactivate_slab() already sets it to NULL.

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