diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-03 08:44:56 -0500 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-04-13 11:01:17 -0500 |
commit | 1f01c7c9a4a3aefa0091989eb352e103e7d2d0dd (patch) | |
tree | ce877a2091fdb0e5728ea3a271a085552565555f /kernel/exit.c | |
parent | 71b82ae7651c470cef86ee5b61049a6a9e7af554 (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 d8bd3b425fa7..35ab292cd4d8 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -143,7 +143,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); |