Commit:     cc5f916e90a811dd8f809b4d17409f98e74b237c
Parent:     c8593884f2768fa3ff6f7e199d75b6ca91f9e891
Author:     Rafael J. Wysocki <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 29 14:37:12 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Oct 30 08:06:55 2007 -0700

    Freezer: do not allow freezing processes to clear TIF_SIGPENDING
    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 <[EMAIL PROTECTED]>
    Acked-by: Nigel Cunningham <[EMAIL PROTECTED]>
    Acked-by: Pavel Machek <[EMAIL PROTECTED]>
    Cc: Oleg Nesterov <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 kernel/signal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/signal.c b/kernel/signal.c
index 4537bdd..909a0cc 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -124,7 +124,7 @@ void recalc_sigpending_and_wake(struct task_struct *t)
 void recalc_sigpending(void)
-       if (!recalc_sigpending_tsk(current))
+       if (!recalc_sigpending_tsk(current) && !freezing(current))
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to