diff options
author | Vladimir Davydov <vdavydov@virtuozzo.com> | 2016-05-24 01:22:29 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-24 02:04:14 +0200 |
commit | 1383399d7be029281997889df23150fa6c16be6e (patch) | |
tree | 9cdc21abe7297912673a4d540b50d45c932603f6 /fs/befs/datastream.c | |
parent | ELF/MIPS build fix (diff) | |
download | linux-1383399d7be029281997889df23150fa6c16be6e.tar.xz linux-1383399d7be029281997889df23150fa6c16be6e.zip |
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/1464019330-7579-1-git-send-email-vdavydov@virtuozzo.com
Signed-off-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/befs/datastream.c')
0 files changed, 0 insertions, 0 deletions