* + fork-remove-redundant-task_uninterruptible.patch added to mm-nonmm-unstable branch
@ 2023-12-08 19:43 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-12-08 19:43 UTC (permalink / raw)
To: mm-commits, peterz, haokexin, akpm
The patch titled
Subject: fork: remove redundant TASK_UNINTERRUPTIBLE
has been added to the -mm mm-nonmm-unstable branch. Its filename is
fork-remove-redundant-task_uninterruptible.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/fork-remove-redundant-task_uninterruptible.patch
This patch will later appear in the mm-nonmm-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
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 via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Kevin Hao <haokexin@gmail.com>
Subject: fork: remove redundant TASK_UNINTERRUPTIBLE
Date: Fri, 8 Dec 2023 16:41:15 +0800
TASK_KILLABLE already includes TASK_UNINTERRUPTIBLE, so there is no
need to add a separate TASK_UNINTERRUPTIBLE.
Link: https://lkml.kernel.org/r/20231208084115.1973285-1-haokexin@gmail.com
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/fork.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/kernel/fork.c~fork-remove-redundant-task_uninterruptible
+++ a/kernel/fork.c
@@ -1580,7 +1580,7 @@ static void complete_vfork_done(struct t
static int wait_for_vfork_done(struct task_struct *child,
struct completion *vfork)
{
- unsigned int state = TASK_UNINTERRUPTIBLE|TASK_KILLABLE|TASK_FREEZABLE;
+ unsigned int state = TASK_KILLABLE|TASK_FREEZABLE;
int killed;
cgroup_enter_frozen();
_
Patches currently in -mm which might be from haokexin@gmail.com are
fork-remove-redundant-task_uninterruptible.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-08 19:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-08 19:43 + fork-remove-redundant-task_uninterruptible.patch added to mm-nonmm-unstable branch Andrew Morton
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.