mm: memcontrol: correct the comment of mem_cgroup_unmark_under_oom()
Subsystems (2)
Quoted 8 lines · Michal Hocko
Quoted 3 lines · Miaohe Lin
Since commit
fb2a6fc56be6("mm: memcg: rework and document OOM waiting
and wakeup"), we have renamedmem_cgroup_oom_locktomem_cgroup_oom_trylock. So replacemem_cgroup_oom_lockwithmem_cgroup_oom_trylockin comment.While you are right I find the comment more confusing then helpful.
What does it try to tell us actually? Is it still valid? Shouldn't we rather remove it or make it more clear?Quoted 1 line
It seems this comment no long make sense. Many thanks for your nice advise.