Skip to content

No-CBs contention-reduction updates for v5.3-rc2

Paul E. McKenney lkml rcu 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10rcu/nocb: Enable re-awakening under high callback loadkernel/rcu/tree_plugin.h+2 -20 replies
2/10rcu/nocb: Never downgrade ->nocb_defer_wakeup in wake_nocb_gp_defer()kernel/rcu/tree_plugin.h+2 -10 replies
3/10rcu/nocb: Make __call_rcu_nocb_wake() safe for many callbackskernel/rcu/tree_plugin.h+1 -10 replies
4/10rcu/nocb: Avoid needless wakeups of no-CBs grace-period kthreadkernel/rcu/tree.c kernel/rcu/tree_plugin.h+24 -40 replies
5/10rcu/nocb: Avoid ->nocb_lock capture by corresponding CPUkernel/rcu/tree.h kernel/rcu/tree_plugin.h+62 -240 replies
6/10rcu/nocb: Round down for number of no-CBs grace-period kthreadskernel/rcu/tree_plugin.h+1 -10 replies
7/10rcu/nocb: Reduce contention at no-CBs registry-time CB advancementkernel/rcu/tree.c kernel/rcu/tree_plugin.h+4 -50 replies
8/10rcu/nocb: Reduce contention at no-CBs invocation-done timekernel/rcu/tree_plugin.h+4 -30 replies
9/10rcu/nocb: Reduce ->nocb_lock contention with separate ->nocb_gp_lockkernel/rcu/tree.h kernel/rcu/tree_plugin.h+7 -50 replies
10/10rcu/nocb: Unconditionally advance and wake for excessive CBskernel/rcu/tree_plugin.h+11 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/10] No-CBs contention-reduction updates for v5.3-rc2

Hello!

This series partially addresses lock-contention increases caused by the move to the ->cblist segmented callback list.

1. Enable re-awakening under high callback load.

2. Never downgrade ->nocb_defer_wakeup in wake_nocb_gp_defer().

3. Make __call_rcu_nocb_wake() safe for many callbacks.

4. Avoid needless wakeups of no-CBs grace-period kthread.

5. Avoid ->nocb_lock capture by corresponding CPU.

6. Round down for number of no-CBs grace-period kthreads.

7. Reduce contention at no-CBs registry-time CB advancement.

8. Reduce contention at no-CBs invocation-done time.

9. Reduce ->nocb_lock contention with separate ->nocb_gp_lock.

10. Unconditionally advance and wake for excessive CBs.

Thanx, Paul

------------------------------------------------------------------------

 tree.c        |   20 ++++++++-
 tree.h        |   21 ++++++++-
 tree_plugin.h |  128 ++++++++++++++++++++++++++++++++++++----------------------
 3 files changed, 118 insertions(+), 51 deletions(-)