dect
/
linux-2.6
Archived
13
0
Fork 0

[PATCH] __group_complete_signal: remove bogus BUG_ON

Commit e56d090310

   [PATCH] RCU signal handling

made this BUG_ON() unsafe. This code runs under ->siglock,
while switch_exec_pids() takes tasklist_lock.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Oleg Nesterov 2006-04-11 22:18:58 +04:00 committed by Linus Torvalds
parent 2514395ef8
commit a145410dcc
1 changed files with 0 additions and 1 deletions

View File

@ -868,7 +868,6 @@ __group_complete_signal(int sig, struct task_struct *p)
if (t == NULL)
/* restart balancing at this thread */
t = p->signal->curr_target = p;
BUG_ON(t->tgid != p->tgid);
while (!wants_signal(sig, t)) {
t = next_thread(t);