signal-complete_signal-use-__for_each_thread.patch removed from -mm tree
The quilt patch titled
Subject: signal: complete_signal: use __for_each_thread()
has been removed from the -mm tree. Its filename was
signal-complete_signal-use-__for_each_thread.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: Oleg Nesterov <[email protected]>
Subject: signal: complete_signal: use __for_each_thread()
Date: Sat, 9 Sep 2023 18:45:37 +0200
do/while_each_thread should be avoided when possible.
Signed-off-by Oleg Nesterov <[email protected]>
Cc Eric W. Biederman <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
kernel/signal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
kernel/signal.c renamed from kernel/signal.c~signal-complete_signal-use-__for_each_thread +2 -3
@@ -1058,12 +1058,11 @@ static void complete_signal(int sig, str signal->flags =SIGNAL_GROUP_EXIT ; signal->group_exit_code = sig; signal->group_stop_count =0 ; - t = p; - do { +__for_each_thread (signal, t) {task_clear_jobctl_pending (t,JOBCTL_PENDING_MASK );sigaddset (&t->pending.signal,SIGKILL );signal_wake_up (t,1 ); - } while_each_thread(p, t); + }return ; } }
_
Patches currently in -mm which might be from [email protected] are