diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-03 13:44:56 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-14 18:37:45 (GMT) |
commit | 6a12bc3add6b316558fd23459201ce6f60fe6af7 (patch) | |
tree | 1c62f09e5d4fcc4a5f28e8298ae7ae1c74aded5f /kernel/fork.c | |
parent | b6b7726f9e05f979aaeb2405eb76d3e1ac06d5b6 (diff) | |
download | linux-fsl-qoriq-6a12bc3add6b316558fd23459201ce6f60fe6af7.tar.xz |
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/fork.c')
-rw-r--r-- | kernel/fork.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 2bc18dd..c0174b8 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1235,6 +1235,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, spin_lock_init(&p->alloc_lock); init_sigpending(&p->pending); + p->sigqueue_cache = NULL; p->utime = p->stime = p->gtime = 0; p->utimescaled = p->stimescaled = 0; |