diff options
author | Frederic Weisbecker <frederic@kernel.org> | 2023-09-08 22:36:01 +0200 |
---|---|---|
committer | Frederic Weisbecker <frederic@kernel.org> | 2023-10-04 22:29:45 +0200 |
commit | 448e9f34d91d1a4799fdb06a93c2c24b34b6fd9d (patch) | |
tree | 77e710649b98cc016479ce51a8c455d6bf7ed20e /Documentation/RCU/Design/Requirements | |
parent | rcu: Conditionally build CPU-hotplug teardown callbacks (diff) | |
download | linux-448e9f34d91d1a4799fdb06a93c2c24b34b6fd9d.tar.xz linux-448e9f34d91d1a4799fdb06a93c2c24b34b6fd9d.zip |
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>
Diffstat (limited to 'Documentation/RCU/Design/Requirements')
-rw-r--r-- | Documentation/RCU/Design/Requirements/Requirements.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/RCU/Design/Requirements/Requirements.rst b/Documentation/RCU/Design/Requirements/Requirements.rst index f3b605285a87..cccafdaa1f84 100644 --- a/Documentation/RCU/Design/Requirements/Requirements.rst +++ b/Documentation/RCU/Design/Requirements/Requirements.rst @@ -1955,12 +1955,12 @@ if offline CPUs block an RCU grace period for too long. An offline CPU's quiescent state will be reported either: -1. As the CPU goes offline using RCU's hotplug notifier (rcu_report_dead()). +1. As the CPU goes offline using RCU's hotplug notifier (rcutree_report_cpu_dead()). 2. When grace period initialization (rcu_gp_init()) detects a race either with CPU offlining or with a task unblocking on a leaf ``rcu_node`` structure whose CPUs are all offline. -The CPU-online path (rcu_cpu_starting()) should never need to report +The CPU-online path (rcutree_report_cpu_starting()) should never need to report a quiescent state for an offline CPU. However, as a debugging measure, it does emit a warning if a quiescent state was not already reported for that CPU. |