Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=045f902de5a6eb5927c0f092c38be7a381f634f0
Commit:     045f902de5a6eb5927c0f092c38be7a381f634f0
Parent:     d2ee7198cc2414aade234a3cebc69e6cbff35d9b
Author:     Oleg Nesterov <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 23:26:47 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Oct 17 08:42:51 2007 -0700

    do_sigaction: remove now unneeded recalc_sigpending()
    
    With the recent changes, do_sigaction()->recalc_sigpending_and_wake() can
    never clear TIF_SIGPENDING. Instead, it can set this flag and wake up the
    thread without any reason. Harmless, but unneeded and wastes CPU.
    
    Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]>
    Acked-by: Roland McGrath <[EMAIL PROTECTED]>
    Cc: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 kernel/signal.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/kernel/signal.c b/kernel/signal.c
index 7929523..2f7736f 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -2335,7 +2335,6 @@ int do_sigaction(int sig, struct k_sigaction *act, struct 
k_sigaction *oact)
                        rm_from_queue_full(&mask, &t->signal->shared_pending);
                        do {
                                rm_from_queue_full(&mask, &t->pending);
-                               recalc_sigpending_and_wake(t);
                                t = next_thread(t);
                        } while (t != 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  http://vger.kernel.org/majordomo-info.html

Reply via email to