Re: [PATCH v3] mm: memcontrol: reword obsolete comment of mem_cgroup_unmark_under_oom()

2020-09-30 Thread Michal Hocko
On Wed 30-09-20 05:53:36, Miaohe Lin wrote: > Since commit 79dfdaccd1d5 ("memcg: make oom_lock 0 and 1 based rather than > counter"), the mem_cgroup_unmark_under_oom() is added and the comment of > the mem_cgroup_oom_unlock() is moved here. But this comment make no sense > here because mem_cgroup_

[PATCH v3] mm: memcontrol: reword obsolete comment of mem_cgroup_unmark_under_oom()

2020-09-30 Thread Miaohe Lin
Since commit 79dfdaccd1d5 ("memcg: make oom_lock 0 and 1 based rather than counter"), the mem_cgroup_unmark_under_oom() is added and the comment of the mem_cgroup_oom_unlock() is moved here. But this comment make no sense here because mem_cgroup_oom_lock() does not operate on under_oom field. So w