diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-09-23 09:52:03 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-09-23 09:52:03 +0200 |
commit | 4bbffe718fe1bfae6176a6fb783c1576b69338e5 (patch) | |
tree | e4d25102f0d2fa2a3480e03ba7bde45c9958511e /kernel/fork.c | |
parent | ac742d37180bee83bc433be087b66a17af2883b9 (diff) | |
parent | 21199f27b430576552b26210b3194a363d7f05cd (diff) |
Merge branch 'locking/urgent' into locking/core, to pick up fixes before applying new changes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 7d5f0f118a63..2845623fb582 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1149,6 +1149,10 @@ static int copy_signal(unsigned long clone_flags, struct task_struct *tsk) tty_audit_fork(sig); sched_autogroup_fork(sig); +#ifdef CONFIG_CGROUPS + init_rwsem(&sig->group_rwsem); +#endif + sig->oom_score_adj = current->signal->oom_score_adj; sig->oom_score_adj_min = current->signal->oom_score_adj_min; |