Skip to content

No-CBs cblist 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 Latest18 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18rcu/nocb: Use separate flag to indicate disabled ->cblistinclude/linux/rcu_segcblist.h kernel/rcu/rcu_segcblist.c kernel/rcu/rcu_segcblist.h +1 more+5 -30 replies
2/18rcu/nocb: Use separate flag to indicate offloaded ->cblistinclude/linux/rcu_segcblist.h kernel/rcu/rcu_segcblist.c kernel/rcu/rcu_segcblist.h +2 more+33 -80 replies
3/18rcu/nocb: Add checks for offloaded callback processingkernel/rcu/tree.c+8 -30 replies
4/18rcu/nocb: Make rcutree_migrate_callbacks() start at leaf rcu_node structurekernel/rcu/tree.c+6 -50 replies
5/18rcu/nocb: Check for deferred nocb wakeups before nohz_full early exitkernel/rcu/tree.c+4 -40 replies
6/18rcu/nocb: Remove deferred wakeup checks for extended quiescent stateskernel/rcu/tree_plugin.h+0 -100 replies
7/18rcu/nocb: Allow lockless use of rcu_segcblist_restempty()kernel/rcu/rcu_segcblist.c kernel/rcu/rcu_segcblist.h+16 -160 replies
8/18rcu/nocb: Allow lockless use of rcu_segcblist_empty()kernel/rcu/rcu_segcblist.c kernel/rcu/rcu_segcblist.h+3 -30 replies
9/18rcu/nocb: Leave ->cblist enabled for no-CBs CPUskernel/rcu/rcu_segcblist.c kernel/rcu/rcu_segcblist.h kernel/rcu/tree.c +2 more+11 -350 replies
10/18rcu/nocb: Use rcu_segcblist for no-CBs CPUsinclude/trace/events/rcu.h kernel/rcu/rcu_segcblist.c kernel/rcu/rcu_segcblist.h +3 more+270 -3840 replies
11/18rcu/nocb: Remove obsolete nocb_head and nocb_tail fieldskernel/rcu/tree.h kernel/rcu/tree_plugin.h+0 -40 replies
12/18rcu/nocb: Remove obsolete nocb_q_count and nocb_q_count_lazy fieldskernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_plugin.h+3 -200 replies
13/18rcu/nocb: Remove obsolete nocb_cb_tail and nocb_cb_head fieldskernel/rcu/tree.h kernel/rcu/tree_plugin.h+0 -30 replies
14/18rcu/nocb: Remove obsolete nocb_gp_head and nocb_gp_tail fieldskernel/rcu/tree.h+2 -40 replies
15/18rcu/nocb: Use build-time no-CBs check in rcu_do_batch()kernel/rcu/tree.c+5 -50 replies
16/18rcu/nocb: Use build-time no-CBs check in rcu_core()kernel/rcu/tree.c+4 -40 replies
17/18rcu/nocb: Use build-time no-CBs check in rcu_pending()kernel/rcu/tree.c+2 -10 replies
18/18rcu/nocb: Suppress uninitialized false-positive in nocb_gp_wait()kernel/rcu/tree_plugin.h+2 -20 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/18] No-CBs cblist updates for v5.3-rc2

Hello!

This series reduces memory footprint (RCU callbacks posted by no-CBs CPUs) by causing the no-CBs CPUs to use the existing ->cblist segmented callback list. This allows these callbacks to take advantage of RCU grace periods that were started by something other than the corresponding rcuog kthread:

1. Use separate flag to indicate disabled ->cblist.

2. Use separate flag to indicate offloaded ->cblist.

3. Add checks for offloaded callback processing.

4. Make rcutree_migrate_callbacks() start at leaf rcu_node structure.

5. Check for deferred nocb wakeups before nohz_full early exit.

6. Remove deferred wakeup checks for extended quiescent states.

7. Allow lockless use of rcu_segcblist_restempty().

8. Allow lockless use of rcu_segcblist_empty().

9. Leave ->cblist enabled for no-CBs CPUs.

10. Use rcu_segcblist for no-CBs CPUs.

11. Remove obsolete nocb_head and nocb_tail fields.

12. Remove obsolete nocb_q_count and nocb_q_count_lazy fields.

13. Remove obsolete nocb_cb_tail and nocb_cb_head fields.

14. Remove obsolete nocb_gp_head and nocb_gp_tail fields.

15. Use build-time no-CBs check in rcu_do_batch().

16. Use build-time no-CBs check in rcu_core().

17. Use build-time no-CBs check in rcu_pending().

18. Suppress uninitialized false-positive in nocb_gp_wait().

Thanx, Paul

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

 include/linux/rcu_segcblist.h |    2 
 include/trace/events/rcu.h    |    1 
 kernel/rcu/rcu_segcblist.c    |   64 +++-
 kernel/rcu/rcu_segcblist.h    |   16 -
 kernel/rcu/tree.c             |  188 +++++++------
 kernel/rcu/tree.h             |   29 --
 kernel/rcu/tree_plugin.h      |  588 ++++++++++++++----------------------------
 7 files changed, 374 insertions(+), 514 deletions(-)