Re: [PATCH 2/3] slub: Add lock release annotation

From: David Rientjes
Date: Wed Sep 29 2010 - 16:15:47 EST


On Wed, 29 Sep 2010, Namhyung Kim wrote:

> The unfreeze_slab() releases page's PG_locked bit but was missing
> proper annotation. The deactivate_slab() needs to be marked also
> since it calls unfreeze_slab() without grabbing the lock.

unfreeze_slab() needs it because it calls deactivate_slab()
unconditionally, rather.

> Signed-off-by: Namhyung Kim <namhyung@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/