Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24564
b: refs/heads/master
c: 5876700
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Mar 29, 2006
1 parent f196a20 commit 4b4b01a
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 35f5cad8c4bab94ecc5acdc4055df5ea12dc76f8
refs/heads/master: 5876700cd399112ecfa70df36203c8c6660d84f8
4 changes: 2 additions & 2 deletions trunk/kernel/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ static void __exit_signal(struct task_struct *tsk)
sig = NULL; /* Marker for below. */
}

__unhash_process(tsk);

tsk->signal = NULL;
cleanup_sighand(tsk);
spin_unlock(&sighand->siglock);
Expand Down Expand Up @@ -140,8 +142,6 @@ void release_task(struct task_struct * p)
BUG_ON(!list_empty(&p->ptrace_list) || !list_empty(&p->ptrace_children));
__exit_signal(p);

__unhash_process(p);

/*
* If we are the last non-leader member of the thread
* group, and the leader is zombie, then notify the
Expand Down

0 comments on commit 4b4b01a

Please sign in to comment.