Skip to content

Commit f364f06

Browse files
Yi Wangtorvalds
Yi Wang
authored andcommitted
mm/oom_kill.c: fix oom_cpuset_eligible() comment
Commit ac311a1 ("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/[email protected] Signed-off-by: Yi Wang <[email protected]> Acked-by: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 70cb6d2 commit f364f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/oom_kill.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static inline bool is_memcg_oom(struct oom_control *oc)
7373
/**
7474
* oom_cpuset_eligible() - check task eligiblity for kill
7575
* @start: task struct of which task to consider
76-
* @mask: nodemask passed to page allocator for mempolicy ooms
76+
* @oc: pointer to struct oom_control
7777
*
7878
* Task eligibility is determined by whether or not a candidate task, @tsk,
7979
* shares the same mempolicy nodes as current if it is bound by such a policy

0 commit comments

Comments
 (0)