From: Oleg Nesterov Date: Tue, 11 Apr 2006 18:18:58 +0000 (+0400) Subject: [PATCH] __group_complete_signal: remove bogus BUG_ON X-Git-Tag: v2.6.17-rc2~97 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a145410dccdb44f81d3b56763ef9b6f721f4e47c;p=linux-2.6 [PATCH] __group_complete_signal: remove bogus BUG_ON Commit e56d090310d7625ecb43a1eeebd479f04affb48b [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 Signed-off-by: Linus Torvalds --- diff --git a/kernel/signal.c b/kernel/signal.c index 5ccaac505e..b14f895027 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -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);