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

rcu/nocb: Reduce ->nocb_lock contention with separate ->nocb_gp_lock



The sleep/wakeup of the no-CBs grace-period kthreads is synchronized
using the ->nocb_lock of the first CPU corresponding to that kthread.
This commit provides a separate ->nocb_gp_lock for this purpose, thus
reducing contention on ->nocb_lock.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent 523bddd5
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