diff options
| author | KAMEZAWA Hiroyuki <[email protected]> | 2010-08-10 18:03:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-08-11 08:59:19 -0700 |
| commit | 158e0a2d1b3cffed8b46cbc56393a1394672ef79 (patch) | |
| tree | a044d53137609fdfc8c1afdde366b3e205c96eda /include/linux/debugobjects.h | |
| parent | 73045c47b6facbdf4656e6763c8cb469de4337e2 (diff) | |
memcg: use find_lock_task_mm() in memory cgroups oom
When the OOM killer scans task, it check a task is under memcg or
not when it's called via memcg's context.
But, as Oleg pointed out, a thread group leader may have NULL ->mm
and task_in_mem_cgroup() may do wrong decision. We have to use
find_lock_task_mm() in memcg as generic OOM-Killer does.
Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Daisuke Nishimura <[email protected]>
Cc: Balbir Singh <[email protected]>
Reviewed-by: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions