mm: memcg: lockdep annotation for memcg OOM lock
authorJohannes Weiner <hannes@cmpxchg.org>
Thu, 31 Oct 2013 23:34:14 +0000 (16:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 31 Oct 2013 23:58:13 +0000 (16:58 -0700)
commit0056f4e66a1b8f00245248877e80386af36af14c
tree1113e39ea47376d1d0071abf75bf336441e5cc26
parent3168ecbe1c04ec3feb7cb42388a17d7f047fe1a2
mm: memcg: lockdep annotation for memcg OOM lock

The memcg OOM lock is a mutex-type lock that is open-coded due to
memcg's special needs.  Add annotations for lockdep coverage.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c