diff options
author | Yi Wang <wang.yi59@zte.com.cn> | 2019-09-23 15:37:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-24 15:54:10 -0700 |
commit | f364f06b34b55285df7b132b4e3752d820412ad4 (patch) | |
tree | ca443e4a2cd9a3eb9724062b9030199e7c4d015e /mm/oom_kill.c | |
parent | 70cb6d2677905121bfc7fdf5babfd8444218edd9 (diff) | |
download | linux-f364f06b34b55285df7b132b4e3752d820412ad4.tar.gz linux-f364f06b34b55285df7b132b4e3752d820412ad4.tar.bz2 linux-f364f06b34b55285df7b132b4e3752d820412ad4.zip |
mm/oom_kill.c: fix oom_cpuset_eligible() comment
Commit ac311a14c682 ("oom: decouple mems_allowed from
oom_unkillable_task") changed has_intersects_mems_allowed() to
oom_cpuset_eligible(), but didn't change the comment.
Link: http://lkml.kernel.org/r/1566959929-10638-1-git-send-email-wang.yi59@zte.com.cn
Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/oom_kill.c')
-rw-r--r-- | mm/oom_kill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 76000feb0794..1530fccdbe4f 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c @@ -73,7 +73,7 @@ static inline bool is_memcg_oom(struct oom_control *oc) /** * oom_cpuset_eligible() - check task eligiblity for kill * @start: task struct of which task to consider - * @mask: nodemask passed to page allocator for mempolicy ooms + * @oc: pointer to struct oom_control * * Task eligibility is determined by whether or not a candidate task, @tsk, * shares the same mempolicy nodes as current if it is bound by such a policy |