commit | 5b4c11d54b1b8d0714702006e00441ada59889a9 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Fri Apr 13 17:11:44 2018 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue May 15 10:28:07 2018 -0700 |
tree | 49e052b1402d46a7a283f29913c045ee6e36b153 | |
parent | 4317228ad9b86f094d70c951f9210a8a9b2816be [diff] |
rcu: Add leaf-node macros This commit adds rcu_first_leaf_node() that returns a pointer to the first leaf rcu_node structure in the specified RCU flavor and an rcu_is_leaf_node() that returns true iff the specified rcu_node structure is a leaf. This commit also uses these macros where appropriate. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Tested-by: Nicholas Piggin <npiggin@gmail.com>