| commit | dfab88e2e3fa6dd2711a6d6f8d1940568d5b19f5 | [log] [tgz] |
|---|---|---|
| author | Oleg Nesterov <oleg@redhat.com> | Tue Apr 23 18:32:41 2019 +0200 |
| committer | Paul E. McKenney <paulmck@linux.ibm.com> | Wed Apr 24 12:40:30 2019 -0700 |
| tree | f15af1386002e84a20d650a1ee25e21a5a13c0f2 | |
| parent | b35a9b36c6db9e61f39490de6f4dc0cdc2ba1107 [diff] |
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>