* + mm-oom-fix-a-comment-in-dump_task.patch added to -mm tree
@ 2021-01-25 22:21 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-01-25 22:21 UTC (permalink / raw)
To: mhocko, mm-commits, rientjes, tangyizhou
The patch titled
Subject: mm, oom: fix a comment in dump_task()
has been added to the -mm tree. Its filename is
mm-oom-fix-a-comment-in-dump_task.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/mm-oom-fix-a-comment-in-dump_task.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/mm-oom-fix-a-comment-in-dump_task.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Tang Yizhou <tangyizhou@huawei.com>
Subject: 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.
Link: https://lkml.kernel.org/r/20210125133006.7242-1-tangyizhou@huawei.com
Signed-off-by: Tang Yizhou <tangyizhou@huawei.com>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>x
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/oom_kill.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- 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;
}
_
Patches currently in -mm which might be from tangyizhou@huawei.com are
mm-oom-fix-a-comment-in-dump_task.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-25 22:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25 22:21 + mm-oom-fix-a-comment-in-dump_task.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.