Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95126
b: refs/heads/master
c: db51aec
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Apr 30, 2008
1 parent 13983fd commit 5966a96
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 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: 08d2c30ce98d274137f12b0a9b9c74137455922c
refs/heads/master: db51aeccd7097ce19a522a4c5ff91c320f870e2b
2 changes: 1 addition & 1 deletion trunk/kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ static int copy_signal(unsigned long clone_flags, struct task_struct *tsk)
sig->group_exit_code = 0;
sig->group_exit_task = NULL;
sig->group_stop_count = 0;
sig->curr_target = NULL;
sig->curr_target = tsk;
init_sigpending(&sig->shared_pending);
INIT_LIST_HEAD(&sig->posix_timers);

Expand Down
4 changes: 0 additions & 4 deletions trunk/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -863,10 +863,6 @@ __group_complete_signal(int sig, struct task_struct *p)
* Otherwise try to find a suitable thread.
*/
t = signal->curr_target;
if (t == NULL)
/* restart balancing at this thread */
t = signal->curr_target = p;

while (!wants_signal(sig, t)) {
t = next_thread(t);
if (t == signal->curr_target)
Expand Down

0 comments on commit 5966a96

Please sign in to comment.