The patch titled Freezer: do not allow freezing processes to clear TIF_SIGPENDING has been added to the -mm tree. Its filename is freezer-do-not-allow-freezing-processes-to-clear-tif_sigpending.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Freezer: do not allow freezing processes to clear TIF_SIGPENDING From: Rafael J. Wysocki <rjw@xxxxxxx> Do not allow processes to clear their TIF_SIGPENDING if TIF_FREEZE is set, so that they will not race with the freezer (like mysqld does, for example). Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx> Acked-by: Nigel Cunningham <nigel@xxxxxxxxxxxx> Acked-by: Pavel Machek <pavel@xxxxxx> Cc: Oleg Nesterov <oleg@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/signal.c~freezer-do-not-allow-freezing-processes-to-clear-tif_sigpending kernel/signal.c --- a/kernel/signal.c~freezer-do-not-allow-freezing-processes-to-clear-tif_sigpending +++ a/kernel/signal.c @@ -124,7 +124,7 @@ void recalc_sigpending_and_wake(struct t void recalc_sigpending(void) { - if (!recalc_sigpending_tsk(current)) + if (!recalc_sigpending_tsk(current) && !freezing(current)) clear_thread_flag(TIF_SIGPENDING); } _ Patches currently in -mm which might be from rjw@xxxxxxx are origin.patch freezer-do-not-allow-freezing-processes-to-clear-tif_sigpending.patch shrink_slab-handle-bad-shrinkers.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html