Skip to content
Commit eda669a6 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu/nocb: Atomic ->len field in rcu_segcblist structure



Upcoming ->nocb_lock contention-reduction work requires that the
rcu_segcblist structure's ->len field be concurrently manipulated,
but only if there are no-CBs CPUs in the kernel.  This commit
therefore makes this ->len field be an atomic_long_t, but only
in CONFIG_RCU_NOCB_CPU=y kernels.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent faca5c25
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment