Skip to contentSkip to conversation

fork-remove-redundant-task_uninterruptible.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Dec 20, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: fork: remove redundant TASK_UNINTERRUPTIBLE
has been removed from the -mm tree. Its filename was
fork-remove-redundant-task_uninterruptible.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Kevin Hao <[email protected]>
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.

---

 kernel/fork.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/fork.c renamed from kernel/fork.c~fork-remove-redundant-task_uninterruptible +1 -1
@@ -1562,7 +1562,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 [email protected] are

mm-khugepaged-remove-redundant-try_to_freeze.patch nilfs2-add-missing-set_freezable-for-freezable-kthread.patch