diff options
author | KAMEZAWA Hiroyuki <[email protected]> | 2010-02-22 12:44:14 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-02-22 19:50:34 -0800 |
commit | 5a2d41961dd6815b874b5c0afec0ac96cd90eea4 (patch) | |
tree | af3d153f9615d9c11feb378f7821c0f280012b52 /net/lapb/lapb_in.c | |
parent | bee415ce427d1eab6cfb30221461c7d20cbf1903 (diff) |
memcg: fix oom killing a child process in an other cgroup
Presently the oom-killer is memcg aware and it finds the worst process
from processes under memcg(s) in oom. Then, it kills victim's child
first.
It may kill a child in another cgroup and may not be any help for
recovery. And it will break the assumption users have.
This patch fixes it.
Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Reviewed-by: Minchan Kim <[email protected]>
Cc: Balbir Singh <[email protected]>
Reviewed-by: Daisuke Nishimura <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions