summaryrefslogtreecommitdiffstats
path: root/Documentation/RCU
diff options
context:
space:
mode:
authorValentin Schneider <vschneid@redhat.com>2024-04-29 14:05:29 +0200
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>2024-08-15 18:00:42 +0200
commit2dba2230f9e26ad492fcd70e9ef2edc28313ea50 (patch)
tree145c41559c922a274b40da247a93db13545c37e1 /Documentation/RCU
parentrcu: Rename rcu_dynticks_zero_in_eqs() into rcu_watching_zero_in_eqs() (diff)
downloadlinux-2dba2230f9e26ad492fcd70e9ef2edc28313ea50.tar.xz
linux-2dba2230f9e26ad492fcd70e9ef2edc28313ea50.zip
rcu: Rename struct rcu_data .dynticks_snap into .watching_snap
The context_tracking.state RCU_DYNTICKS subvariable has been renamed to RCU_WATCHING, and the snapshot helpers are now prefix by "rcu_watching". Reflect that change into the storage variables for these snapshots. Signed-off-by: Valentin Schneider <vschneid@redhat.com> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Diffstat (limited to 'Documentation/RCU')
-rw-r--r--Documentation/RCU/Design/Data-Structures/Data-Structures.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/RCU/Design/Data-Structures/Data-Structures.rst b/Documentation/RCU/Design/Data-Structures/Data-Structures.rst
index 28d9f9e1783f..04e16775c752 100644
--- a/Documentation/RCU/Design/Data-Structures/Data-Structures.rst
+++ b/Documentation/RCU/Design/Data-Structures/Data-Structures.rst
@@ -921,10 +921,10 @@ This portion of the ``rcu_data`` structure is declared as follows:
::
- 1 int dynticks_snap;
+ 1 int watching_snap;
2 unsigned long dynticks_fqs;
-The ``->dynticks_snap`` field is used to take a snapshot of the
+The ``->watching_snap`` field is used to take a snapshot of the
corresponding CPU's dyntick-idle state when forcing quiescent states,
and is therefore accessed from other CPUs. Finally, the
``->dynticks_fqs`` field is used to count the number of times this CPU