aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2019-04-23 16:32:41 +0000
committerPaul E. McKenney <[email protected]>2019-05-28 16:05:23 +0000
commit3f2947b78151ec938dc06aea4ba0e11e56becdff (patch)
tree2f85a7564b415715a0536d9eef3ec2018dd9c487 /fs/proc/array.c
parentuprobes: Use DEFINE_STATIC_PERCPU_RWSEM() to initialize dup_mmap_sem (diff)
downloadkernel-3f2947b78151ec938dc06aea4ba0e11e56becdff.tar.gz
kernel-3f2947b78151ec938dc06aea4ba0e11e56becdff.zip
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 <[email protected]> Reviewed-by: Ingo Molnar <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions