Messages in this thread Patch in this message | | | Date | Tue, 11 Apr 2006 22:18:58 +0400 | From | Oleg Nesterov <> | Subject | [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 <oleg@tv-sign.ru>
--- 2.6.16/kernel/signal.c~ 2006-02-13 21:47:19.000000000 +0300 +++ 2.6.16/kernel/signal.c 2006-04-11 21:53:03.000000000 +0400 @@ -975,7 +975,6 @@ __group_complete_signal(int sig, struct 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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |