mm: memcontrol: zap oom_info_lock
authorVladimir Davydov <vdavydov@virtuozzo.com>
Thu, 17 Mar 2016 21:20:34 +0000 (14:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Mar 2016 22:09:34 +0000 (15:09 -0700)
commite0775d10f1e65548fcbadf614a6bf3d216165021
treeb04e24a5724a5cc80c4b6dbedc7654bb4a164016
parent8b5926560fafe80fe764af2aade152d490a96546
mm: memcontrol: zap oom_info_lock

mem_cgroup_print_oom_info is always called under oom_lock, so
oom_info_lock is redundant.

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