Skip to content

rcu: Support for lazy callbacks on !CONFIG_RCU_NOCB_CPU

Frederic Weisbecker lkml oe-kbuild-all rcu 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9rcu: Assume IRQS disabled from rcu_report_dead()kernel/rcu/tree.c+6 -41 reply
2/9rcu: Use rcu_segcblist_segempty() instead of open coding itkernel/rcu/rcu_segcblist.c+2 -23 replies
3/9rcu: Rename jiffies_till_flush to jiffies_lazy_flushkernel/rcu/rcu.h kernel/rcu/rcuscale.c kernel/rcu/tree_nocb.h+17 -170 replies
4/9rcu: Introduce lazy queue's own qhimarkkernel/rcu/tree.c kernel/rcu/tree_nocb.h+6 -52 replies
5/9rcu: Add rcutree.lazy_enabled boot parameterDocumentation/admin-guide/kernel-parameters.txt kernel/rcu/tree.c+7 -12 replies
6/9rcu/nocb: Rename was_alldone to was_pendingkernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_nocb.h+22 -220 replies
7/9rcu: Implement lazyness on the main segcblist levelinclude/linux/rcu_segcblist.h kernel/rcu/rcu_segcblist.c kernel/rcu/rcu_segcblist.h +3 more+221 -1150 replies
8/9rcu: Make segcblist flags test strictkernel/rcu/rcu_segcblist.h+1 -10 replies
9/9rcu: Support lazy callbacks with CONFIG_RCU_NOCB_CPU=nkernel/rcu/Kconfig kernel/rcu/rcu_segcblist.h kernel/rcu/tree.c +2 more+167 -1080 replies

Reviews trailers per patch

2 of 9 patches have a Reviewed-by or Acked-by.

PatchJoel Fernandes (Google)Qiuxu Zhuo
1/9R-b
2/9R-b R-b
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] rcu: Support for lazy callbacks on !CONFIG_RCU_NOCB_CPU

Hi,

Here is a first attempt at providing support for lazy callbacks on non-offloaded CPUs. I have measured interesting results on my machine when it is mostly idle (just an idle ssh connection kept alive) with a gain of +10% idle time. This needs more serious testing though, especially to make sure that no performance regression is introduced.

Also I have only mildly tested on NOCB (eg: no rcutorture yet), so I might have broken something.

Finally it's also possible that the idle time improvement is due to me introducing a bug :)

The patches 1-5 can be considered independently from the rest.

Frederic Weisbecker (9):
rcu: Assume IRQS disabled from rcu_report_dead()
rcu: Use rcu_segcblist_segempty() instead of open coding it
rcu: Rename jiffies_till_flush to jiffies_lazy_flush
rcu: Introduce lazy queue's own qhimark
rcu: Add rcutree.lazy_enabled boot parameter rcu/nocb: Rename was_alldone to was_pending
rcu: Implement lazyness on the main segcblist level
rcu: Make segcblist flags test strict
rcu: Support lazy callbacks with CONFIG_RCU_NOCB=n

 .../admin-guide/kernel-parameters.txt         |   5 +
 include/linux/rcu_segcblist.h                 |  13 +-
 kernel/rcu/Kconfig                            |   2 +-
 kernel/rcu/rcu.h                              |   8 +-
 kernel/rcu/rcu_segcblist.c                    |  44 ++-
 kernel/rcu/rcu_segcblist.h                    |  32 +-
 kernel/rcu/rcuscale.c                         |   6 +-
 kernel/rcu/tree.c                             | 272 +++++++++++++++--
 kernel/rcu/tree.h                             |   9 +-
 kernel/rcu/tree_nocb.h                        | 285 +++++-------------
 10 files changed, 425 insertions(+), 251 deletions(-)
Signature · 1 line
2.40.1