projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2c78fb
)
[PATCH] RCU signal handling
author
Oleg Nesterov
<oleg@tv-sign.ru>
Tue, 11 Apr 2006 18:18:58 +0000
(22:18 +0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 11 Apr 2006 16:46:41 +0000
(09:46 -0700)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/signal.c
patch
|
blob
|
history
diff --git
a/kernel/signal.c
b/kernel/signal.c
index ea154104a00bf43a6a62a7d90d229465a4bfbc95..bc8f80b3fdb0138dabf6d95d9e9a6cf5526f668b 100644
(file)
--- a/
kernel/signal.c
+++ b/
kernel/signal.c
@@
-975,7
+975,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);