aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-07-03 09:44:56 -0400
committerThomas Gleixner <tglx@linutronix.de>2009-07-27 08:27:32 -0400
commitb55d97259bc176907fd531b805b6cc591c0d38a3 (patch)
tree362effb8a64f1e264cd04ae9e1e19668801c3224 /kernel/exit.c
parent514e0e295511c6a4a54eb0228ccbb519162cc088 (diff)
signals: allow rt tasks to cache one sigqueue struct
To avoid allocation allow rt tasks to cache on sigqueue struct. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 869dc221733e..88d0aad33ca0 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -130,7 +130,7 @@ static void __exit_signal(struct task_struct *tsk)
130 * Do this under ->siglock, we can race with another thread 130 * Do this under ->siglock, we can race with another thread
131 * doing sigqueue_free() if we have SIGQUEUE_PREALLOC signals. 131 * doing sigqueue_free() if we have SIGQUEUE_PREALLOC signals.
132 */ 132 */
133 flush_sigqueue(&tsk->pending); 133 flush_task_sigqueue(tsk);
134 134
135 tsk->signal = NULL; 135 tsk->signal = NULL;
136 tsk->sighand = NULL; 136 tsk->sighand = NULL;