]> Git Repo - linux.git/commit
mm: memcontrol: fix possible css ref leak on oom
authorVladimir Davydov <[email protected]>
Mon, 23 May 2016 23:22:29 +0000 (16:22 -0700)
committerLinus Torvalds <[email protected]>
Tue, 24 May 2016 00:04:14 +0000 (17:04 -0700)
commit1383399d7be029281997889df23150fa6c16be6e
tree9cdc21abe7297912673a4d540b50d45c932603f6
parentf43edca7ed08fc02279f2a62015da5cb6aa0ad61
mm: memcontrol: fix possible css ref leak on oom

mem_cgroup_oom may be invoked multiple times while a process is handling
a page fault, in which case current->memcg_in_oom will be overwritten
leaking the previously taken css reference.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Vladimir Davydov <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memcontrol.c
This page took 0.053548 seconds and 4 git commands to generate.