slub: Add lock release annotation
authorNamhyung Kim <namhyung@gmail.com>
Wed, 29 Sep 2010 12:02:14 +0000 (21:02 +0900)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Oct 2010 07:47:53 +0000 (10:47 +0300)
commit3478973dedee5e957c45dc93c11d12dc3f733ee0
treea90878879ef689df232b9ad9288b8b5052b78651
parenta5dd5c117cbf620378d693963ffc42239297fac4
slub: Add lock release annotation

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.

Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c