]> Git Repo - linux.git/commitdiff
mm/oom_kill.c: fix oom_cpuset_eligible() comment
authorYi Wang <[email protected]>
Mon, 23 Sep 2019 22:37:14 +0000 (15:37 -0700)
committerLinus Torvalds <[email protected]>
Tue, 24 Sep 2019 22:54:10 +0000 (15:54 -0700)
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/[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]>
mm/oom_kill.c

index 76000feb07946d2b8ed01d91b5c71f200d3f33c8..1530fccdbe4fba388c41000071e2008bfb83b0d4 100644 (file)
@@ -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
This page took 0.052374 seconds and 4 git commands to generate.