diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-06-01 13:33:55 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-08-13 14:35:49 -0700 |
commit | 523bddd553c09a2cf051eb724bffba680424f5ec (patch) | |
tree | 575f1bed80f45d6507d2c5533f4ede50c5b7ffb1 /tools/perf/scripts/python/netdev-times.py | |
parent | 6608c3a027bcc0b34cc02bc764ea9f52b9dce46f (diff) |
rcu/nocb: Reduce contention at no-CBs invocation-done time
Currently, nocb_cb_wait() unconditionally acquires the leaf rcu_node
->lock to advance callbacks when done invoking the previous batch.
It does this while holding ->nocb_lock, which means that contention on
the leaf rcu_node ->lock visits itself on the ->nocb_lock. This commit
therefore makes this lock acquisition conditional, forgoing callback
advancement when the leaf rcu_node ->lock is not immediately available.
(In this case, the no-CBs grace-period kthread will eventually do any
needed callback advancement.)
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions