Skip to content

Commit 3b18eb3

Browse files
valschneiderNeeraj Upadhyay
authored andcommitted
rcu: Rename rcu_implicit_dynticks_qs() into rcu_watching_snap_recheck()
The context_tracking.state RCU_DYNTICKS subvariable has been renamed to RCU_WATCHING, drop the dyntick reference and update the name of this helper to express that it rechecks rdp->watching_snap after an earlier rcu_watching_snap_save(). Signed-off-by: Valentin Schneider <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> Signed-off-by: Neeraj Upadhyay <[email protected]>
1 parent 49f82c6 commit 3b18eb3

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg

Lines changed: 1 addition & 1 deletion
Loading

Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp-fqs.svg

Lines changed: 1 addition & 1 deletion
Loading

Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg

Lines changed: 1 addition & 1 deletion
Loading

Documentation/RCU/Design/Memory-Ordering/TreeRCU-hotplug.svg

Lines changed: 1 addition & 1 deletion
Loading

kernel/rcu/tree.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ static int rcu_watching_snap_save(struct rcu_data *rdp)
812812
*
813813
* Returns zero otherwise.
814814
*/
815-
static int rcu_implicit_dynticks_qs(struct rcu_data *rdp)
815+
static int rcu_watching_snap_recheck(struct rcu_data *rdp)
816816
{
817817
unsigned long jtsq;
818818
int ret = 0;
@@ -1998,7 +1998,7 @@ static void rcu_gp_fqs(bool first_time)
19981998
force_qs_rnp(rcu_watching_snap_save);
19991999
} else {
20002000
/* Handle dyntick-idle and offline CPUs. */
2001-
force_qs_rnp(rcu_implicit_dynticks_qs);
2001+
force_qs_rnp(rcu_watching_snap_recheck);
20022002
}
20032003
/* Clear flag to prevent immediate re-entry. */
20042004
if (READ_ONCE(rcu_state.gp_flags) & RCU_GP_FLAG_FQS) {

0 commit comments

Comments
 (0)