* [folded-merged] signal-avoid-clearing-tif_sigpending-in-recalc_sigpending-if-unset-fix.patch removed from -mm tree
@ 2025-03-17 5:27 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-03-17 5:27 UTC (permalink / raw)
To: mm-commits, oleg, mjguzik, akpm, akpm
The quilt patch titled
Subject: signal-avoid-clearing-tif_sigpending-in-recalc_sigpending-if-unset-fix
has been removed from the -mm tree. Its filename was
signal-avoid-clearing-tif_sigpending-in-recalc_sigpending-if-unset-fix.patch
This patch was dropped because it was folded into signal-avoid-clearing-tif_sigpending-in-recalc_sigpending-if-unset.patch
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: signal-avoid-clearing-tif_sigpending-in-recalc_sigpending-if-unset-fix
Date: Mon Mar 3 02:22:48 PM PST 2025
add unlikely() as well
Cc: Mateusz Guzik <mjguzik@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/signal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/kernel/signal.c~signal-avoid-clearing-tif_sigpending-in-recalc_sigpending-if-unset-fix
+++ a/kernel/signal.c
@@ -177,7 +177,7 @@ static bool recalc_sigpending_tsk(struct
void recalc_sigpending(void)
{
if (!recalc_sigpending_tsk(current) && !freezing(current)) {
- if (test_thread_flag(TIF_SIGPENDING))
+ if (unlikely(test_thread_flag(TIF_SIGPENDING)))
clear_thread_flag(TIF_SIGPENDING);
}
}
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
mm-pgtable-convert-some-architectures-to-use-tlb_remove_ptdesc-v2-fix.patch
signal-avoid-clearing-tif_sigpending-in-recalc_sigpending-if-unset.patch
hung_task-show-the-blocker-task-if-the-task-is-hung-on-mutex-fix.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-03-17 5:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-17 5:27 [folded-merged] signal-avoid-clearing-tif_sigpending-in-recalc_sigpending-if-unset-fix.patch removed from -mm tree 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.