Skip to content

rcu cleanups

Frederic Weisbecker lkml rcu 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10rcu: Use rcu_segcblist_segempty() instead of open coding itkernel/rcu/rcu_segcblist.c+2 -21 reply
2/10rcu: Rename jiffies_till_flush to jiffies_lazy_flushkernel/rcu/rcu.h kernel/rcu/rcuscale.c kernel/rcu/tree_nocb.h+17 -172 replies
3/10rcu/nocb: Remove needless LOAD-ACQUIREkernel/rcu/tree_nocb.h+1 -23 replies
4/10rcu/nocb: Remove needless full barrier after callback advancingkernel/rcu/tree_nocb.h+0 -16 replies
5/10rcu: Assume IRQS disabled from rcu_report_dead()kernel/rcu/tree.c+6 -41 reply
6/10rcu: Assume rcu_report_dead() is always called locallyarch/arm64/kernel/smp.c include/linux/rcupdate.h kernel/cpu.c +1 more+5 -51 reply
7/10rcu: Conditionally build CPU-hotplug teardown callbacksinclude/linux/rcutree.h kernel/rcu/tree.c+63 -621 reply
8/10rcu: Standardize explicit CPU-hotplug callsDocumentation/RCU/Design/Expedited-Grace-Periods/Expedited-Grace-Periods.rst Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp-fqs.svg Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg +12 more+33 -261 reply
9/10rcu: Remove references to rcu_migrate_callbacks() from diagramsDocumentation/RCU/Design/Memory-Ordering/TreeRCU-callback-registry.svg Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg+0 -181 reply
10/10rcu: Comment why callbacks migration can't wait for CPUHP_RCUTREE_PREPkernel/cpu.c+7 -01 reply

Reviews trailers per patch

8 of 10 patches have a Reviewed-by or Acked-by.

PatchQiuxu ZhuoJoel Fernandes (Google)Paul E. McKenney
1/10R-b R-b R-b
2/10R-b
3/10
4/10
5/10R-b R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/10] rcu cleanups

Hi,

Here is a bunch of accumulated cleanups. Many of them are trivial but beware some tricky ordering changes in the middle :-)

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
rcu/dev

HEAD: 43d6b973aeb7459d29cd52054142291b099bf8ad

Thanks,
Frederic
---

Frederic Weisbecker (10):
rcu: Use rcu_segcblist_segempty() instead of open coding it
rcu: Rename jiffies_till_flush to jiffies_lazy_flush rcu/nocb: Remove needless LOAD-ACQUIRE
rcu/nocb: Remove needless full barrier after callback advancing
rcu: Assume IRQS disabled from rcu_report_dead()
rcu: Assume rcu_report_dead() is always called locally
rcu: Conditionally build CPU-hotplug teardown callbacks
rcu: Standardize explicit CPU-hotplug calls
rcu: Remove references to rcu_migrate_callbacks() from diagrams
rcu: Comment why callbacks migration can't wait for CPUHP_RCUTREE_PREP

 .../Expedited-Grace-Periods.rst                    |   2 +-
 .../Memory-Ordering/TreeRCU-callback-registry.svg  |   9 --
 .../RCU/Design/Memory-Ordering/TreeRCU-gp-fqs.svg  |   4 +-
 .../RCU/Design/Memory-Ordering/TreeRCU-gp.svg      |  13 +-
 .../RCU/Design/Memory-Ordering/TreeRCU-hotplug.svg |   4 +-
 .../RCU/Design/Requirements/Requirements.rst       |   4 +-
 arch/arm64/kernel/smp.c                            |   4 +-
 arch/powerpc/kernel/smp.c                          |   2 +-
 arch/s390/kernel/smp.c                             |   2 +-
 arch/x86/kernel/smpboot.c                          |   2 +-
 include/linux/interrupt.h                          |   2 +-
 include/linux/rcupdate.h                           |   2 -
 include/linux/rcutiny.h                            |   2 +-
 include/linux/rcutree.h                            |  16 ++-
 kernel/cpu.c                                       |  13 +-
 kernel/rcu/rcu.h                                   |   8 +-
 kernel/rcu/rcu_segcblist.c                         |   4 +-
 kernel/rcu/rcuscale.c                              |   6 +-
 kernel/rcu/tree.c                                  | 138 ++++++++++-----------
 kernel/rcu/tree_nocb.h                             |  24 ++--
 20 files changed, 129 insertions(+), 132 deletions(-)