rcu: Standardize explicit CPU-hotplug calls
authorFrederic Weisbecker <frederic@kernel.org>
Fri, 8 Sep 2023 20:36:01 +0000 (22:36 +0200)
committerFrederic Weisbecker <frederic@kernel.org>
Wed, 4 Oct 2023 20:29:45 +0000 (22:29 +0200)
commit448e9f34d91d1a4799fdb06a93c2c24b34b6fd9d
tree77e710649b98cc016479ce51a8c455d6bf7ed20e
parent2cb1f6e9a743af58a23cf14563b5eada1e0d3fde
rcu: Standardize explicit CPU-hotplug calls

rcu_report_dead() and rcutree_migrate_callbacks() have their headers in
rcupdate.h while those are pure rcutree calls, like the other CPU-hotplug
functions.

Also rcu_cpu_starting() and rcu_report_dead() have different naming
conventions while they mirror each other's effects.

Fix the headers and propose a naming that relates both functions and
aligns with the prefix of other rcutree CPU-hotplug functions.

Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
15 files changed:
Documentation/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
Documentation/RCU/Design/Memory-Ordering/TreeRCU-hotplug.svg
Documentation/RCU/Design/Requirements/Requirements.rst
arch/arm64/kernel/smp.c
arch/powerpc/kernel/smp.c
arch/s390/kernel/smp.c
arch/x86/kernel/smpboot.c
include/linux/interrupt.h
include/linux/rcupdate.h
include/linux/rcutiny.h
include/linux/rcutree.h
kernel/cpu.c
kernel/rcu/tree.c