]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1fd3c0d597bc39c2fb7958d168848a8a4e63d5cc
tree1113e39ea47376d1d0071abf75bf336441e5cc26
parenta90bfefb05f84d781b06d4d797af008e52a471c3
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