summaryrefslogtreecommitdiff
path: root/kernel/rcu/tree.h
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 21:30:42 +0530
commit2dba2230f9e26ad492fcd70e9ef2edc28313ea50 (patch)
tree145c41559c922a274b40da247a93db13545c37e1 /kernel/rcu/tree.h
parentfc1096ab1f318fd7cabb842279e88978bb31768e (diff)
downloadlwn-2dba2230f9e26ad492fcd70e9ef2edc28313ea50.tar.gz
lwn-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 'kernel/rcu/tree.h')
-rw-r--r--kernel/rcu/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h
index fcf2b4aa3441..f5361a7d7269 100644
--- a/kernel/rcu/tree.h
+++ b/kernel/rcu/tree.h
@@ -206,7 +206,7 @@ struct rcu_data {
long blimit; /* Upper limit on a processed batch */
/* 3) dynticks interface. */
- int dynticks_snap; /* Per-GP tracking for dynticks. */
+ int watching_snap; /* Per-GP tracking for dynticks. */
bool rcu_need_heavy_qs; /* GP old, so heavy quiescent state! */
bool rcu_urgent_qs; /* GP old need light quiescent state. */
bool rcu_forced_tick; /* Forced tick to provide QS. */