diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-03 08:44:56 -0500 |
---|---|---|
committer | Daniel Wagner <wagi@monom.org> | 2018-07-26 06:42:53 +0200 |
commit | 45dff395e1b4a825f3dea0af94de89e0c444dc6f (patch) | |
tree | fbf9cab85f90c710f7ffed47a39555339542c6e1 /kernel/fork.c | |
parent | b743284bea078149705084dcc62400ac7177762c (diff) | |
download | linux-rt-45dff395e1b4a825f3dea0af94de89e0c444dc6f.tar.gz |
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 a8bc2c2d9582..01b6ed6bd30e 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1375,6 +1375,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; |