srcu: Move combining-tree definitions for SRCU's benefit
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 14 Mar 2017 19:42:30 +0000 (12:42 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 18 Apr 2017 18:38:20 +0000 (11:38 -0700)
commitf2425b4efb0c69e77c0b9666b605ae4a1ecaae47
tree01bf661bcaba584f013e151a10099b250425a21b
parent8660b7d8a545227fd9ee80508aa82528ea9947d7
srcu: Move combining-tree definitions for SRCU's benefit

This commit moves the C preprocessor code that defines the default shape
of the rcu_node combining tree to a new include/linux/rcu_node_tree.h
file as a first step towards enabling SRCU to create its own combining
tree, which in turn enables SRCU to implement per-CPU callback handling,
thus avoiding contention on the lock currently guarding the single list
of callbacks.  Note that users of SRCU still need to know the size of
the srcu_struct structure, hence include/linux rather than kernel/rcu.

This commit is code-movement only.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcu_node_tree.h [new file with mode: 0644]
kernel/rcu/tree.h