--- a/mm/oom_kill.c~mm-oom-fix-a-comment-in-dump_task +++ a/mm/oom_kill.c @@ -395,9 +395,8 @@ static int dump_task(struct task_struct 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; }