projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tracepoints: use modules notifiers
[linux-2.6-block.git]
/
kernel
/
exit.c
diff --git
a/kernel/exit.c
b/kernel/exit.c
index 80137a5d9467811ba4dab35c6e95790002a5f12a..ae2b92be5faec1efa73beefb63304a22d030fc16 100644
(file)
--- a/
kernel/exit.c
+++ b/
kernel/exit.c
@@
-141,6
+141,11
@@
static void __exit_signal(struct task_struct *tsk)
if (sig) {
flush_sigqueue(&sig->shared_pending);
taskstats_tgid_free(sig);
+ /*
+ * Make sure ->signal can't go away under rq->lock,
+ * see account_group_exec_runtime().
+ */
+ task_rq_unlock_wait(tsk);
__cleanup_signal(sig);
}
}