mbox series

[v2,0/2] memcg oom: don't try to kill a process if there is no process

Message ID 20200504042621.10334-1-laoar.shao@gmail.com (mailing list archive)
Headers show
Series memcg oom: don't try to kill a process if there is no process | expand

Message

Yafang Shao May 4, 2020, 4:26 a.m. UTC
ecently Shakeel reported a issue which also confused me serveral months
earlier that it still try to kill a process even if there is no process.
If a memcg is not populated, it is useless to try to kill a process.

mem_cgroup_out_of_memory() is renamed to mem_cgroup_oom_kill() for better
understanding.

Yafang Shao (2):
  mm, memcg: rename mem_cgroup_out_of_memory()
  mm, memcg: don't try to kill a process if memcg is not populated

 mm/memcontrol.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)