Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95137
b: refs/heads/master
c: 53c3033
h: refs/heads/master
i:
  95135: 3c51f92
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Apr 30, 2008
1 parent 34bee92 commit ca9f295
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 021e1ae3d85a76ce962a300c96813f04ae50c87c
refs/heads/master: 53c30337f2c61aff6eecf2a446e839641172f9bd
8 changes: 1 addition & 7 deletions trunk/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -772,13 +772,6 @@ static int send_signal(int sig, struct siginfo *info, struct task_struct *t,
*/
if (legacy_queue(pending, sig))
return 0;

/*
* Deliver the signal to listening signalfds. This must be called
* with the sighand lock held.
*/
signalfd_notify(t, sig);

/*
* fast-pathed signals for kernel-internal things like SIGSTOP
* or SIGKILL.
Expand Down Expand Up @@ -828,6 +821,7 @@ static int send_signal(int sig, struct siginfo *info, struct task_struct *t,
}

out_set:
signalfd_notify(t, sig);
sigaddset(&pending->signal, sig);
complete_signal(sig, t, group);
return 0;
Expand Down

0 comments on commit ca9f295

Please sign in to comment.