Commit f364f06b authored by Yi Wang's avatar Yi Wang Committed by Linus Torvalds

mm/oom_kill.c: fix oom_cpuset_eligible() comment

Commit ac311a14 ("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.cnSigned-off-by: default avatarYi Wang <wang.yi59@zte.com.cn>
Acked-by: default avatarMichal Hocko <mhocko@suse.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 70cb6d26
...@@ -73,7 +73,7 @@ static inline bool is_memcg_oom(struct oom_control *oc) ...@@ -73,7 +73,7 @@ static inline bool is_memcg_oom(struct oom_control *oc)
/** /**
* oom_cpuset_eligible() - check task eligiblity for kill * oom_cpuset_eligible() - check task eligiblity for kill
* @start: task struct of which task to consider * @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, * 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 * shares the same mempolicy nodes as current if it is bound by such a policy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment