]> git.baikalelectronics.ru Git - kernel.git/commit
revert "mm: memcontrol: fix possible css ref leak on oom"
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 8 Jun 2016 22:33:47 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 9 Jun 2016 21:23:11 +0000 (14:23 -0700)
commit8df67c63c437f7ebce4482c7983281c87feb2fd4
tree33199b28a619a675f46c88b0be5b7f11dbdefcab
parentfa5f266e330cc25db1009df460cb67296b65450d
revert "mm: memcontrol: fix possible css ref leak on oom"

Revert commit a9c93db012a7 ("mm: memcontrol: fix possible css ref leak
on oom").  Johannes points out "There is a task_in_memcg_oom() check
before calling mem_cgroup_oom()".

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