diff options
author | Oleg Nesterov <oleg@redhat.com> | 2019-04-23 18:32:41 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-05-28 09:05:23 -0700 |
commit | 3f2947b78151ec938dc06aea4ba0e11e56becdff (patch) | |
tree | 2f85a7564b415715a0536d9eef3ec2018dd9c487 /kernel/rcu | |
parent | 2bf1acc299c9757932ef8c6edfaacca6d08302b1 (diff) | |
download | linux-3f2947b78151ec938dc06aea4ba0e11e56becdff.tar.bz2 |
locking/percpu-rwsem: Add DEFINE_PERCPU_RWSEM(), use it to initialize cgroup_threadgroup_rwsem
Turn DEFINE_STATIC_PERCPU_RWSEM() into __DEFINE_PERCPU_RWSEM() with the
additional "is_static" argument to introduce DEFINE_PERCPU_RWSEM().
Change cgroup.c to use DEFINE_PERCPU_RWSEM(cgroup_threadgroup_rwsem).
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'kernel/rcu')
0 files changed, 0 insertions, 0 deletions