summaryrefslogtreecommitdiff
path: root/kernel/rcu
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2016-01-08 15:43:50 (GMT)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2016-02-24 03:59:55 (GMT)
commit9de630c4f264dec48e61edd871cb98b8e1b58250 (patch)
treee11bfe739aeb1e90d2a0fb31df4339bf39d2ced2 /kernel/rcu
parent9fc9204ef9fdbe550fd81a554abce2b210e63e49 (diff)
downloadlinux-9de630c4f264dec48e61edd871cb98b8e1b58250.tar.xz
rcu: Document unique-name limitation for DEFINE_STATIC_SRCU()
SRCU uses per-CPU variables, and DEFINE_STATIC_SRCU() uses a static per-CPU variable. However, per-CPU variables have significant restrictions, for example, names of per-CPU variables must be globally unique, even if declared static. These restrictions carry over to DEFINE_STATIC_SRCU(), and this commit therefore documents these restrictions. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reported-by: kbuild test robot <fengguang.wu@intel.com> Suggested-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/rcu')
0 files changed, 0 insertions, 0 deletions