Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198751
b: refs/heads/master
c: 4a59994
h: refs/heads/master
i:
  198749: 32355b0
  198747: 38e6de3
  198743: 8feeb6e
  198735: 120599c
  198719: 8cded3b
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed May 27, 2010
1 parent afaeb09 commit 0c7448f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: d344193a05da89c97e965da2c5cbf687d7385eae
refs/heads/master: 4a5999429739844367d0f77a65efdd7db8202779
5 changes: 3 additions & 2 deletions trunk/kernel/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,12 @@ static void __exit_signal(struct task_struct *tsk)
rcu_read_lock_held() ||
lockdep_tasklist_lock_is_held());
spin_lock(&sighand->siglock);
atomic_dec(&sig->count);

posix_cpu_timers_exit(tsk);
if (atomic_dec_and_test(&sig->count))
if (thread_group_leader(tsk)) {
posix_cpu_timers_exit_group(tsk);
else {
} else {
/*
* If there is any task waiting for the group exit
* then notify it:
Expand Down

0 comments on commit 0c7448f

Please sign in to comment.