diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-03 08:44:56 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-07-17 21:14:21 -0400 |
commit | 22663329dd88d5ef844c5a53f09cc5697b8a3608 (patch) | |
tree | 4c45bd1c1c50915acc65b81f4c980255b75c299f /kernel/exit.c | |
parent | 692aa380692e9ed146c1c0af67d5fd3617c73cee (diff) |
signals: Allow rt tasks to cache one sigqueue struct
To avoid allocation allow rt tasks to cache one sigqueue struct in
task struct.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 5a8a66ed650d..9ed0883597ce 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -141,7 +141,7 @@ static void __exit_signal(struct task_struct *tsk) * Do this under ->siglock, we can race with another thread * doing sigqueue_free() if we have SIGQUEUE_PREALLOC signals. */ - flush_sigqueue(&tsk->pending); + flush_task_sigqueue(tsk); tsk->sighand = NULL; spin_unlock(&sighand->siglock); |