mm, oom: Fix a comment in dump_task
Subsystems (2)
PATCH 1/1 mm, oom: Fix a comment in dump_task
If p is a kthread, it will be checked in oom_unkillable_task() so we can delete the corresponding comment.
Signed-off-by Tang Yizhou <[email protected]>
Cc Ding Tianhong <[email protected]>
Cc Zhou Guanghui <[email protected]>
Cc Chen Weilong <[email protected]>
--- mm/oom_kill.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
mm/oom_kill.c +2 -3
@@ -395,9 +395,8 @@ static int dump_task(struct task_struct *p, void *arg) task =find_lock_task_mm (p);if (!task) {/* -* This is a kthread or all of p's threads have already -* detached their mm's. There's no need to report -* them; they can't be oom killed anyway. +* All of p's threads have already detached their mm's. There's +* no need to report them; they can't be oom killed anyway. */ return 0 ; }
Signature · 1 line
2.22.0