Skip to content

Commit 679d3f3

Browse files
committed
rcu: Clean up flavor-related definitions and comments in tiny.c
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
1 parent 6eb95cc commit 679d3f3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎kernel/rcu/tiny.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ static __latent_entropy void rcu_process_callbacks(struct softirq_action *unused
117117

118118
/*
119119
* Wait for a grace period to elapse. But it is illegal to invoke
120-
* synchronize_sched() from within an RCU read-side critical section.
121-
* Therefore, any legal call to synchronize_sched() is a quiescent
122-
* state, and so on a UP system, synchronize_sched() need do nothing.
120+
* synchronize_rcu() from within an RCU read-side critical section.
121+
* Therefore, any legal call to synchronize_rcu() is a quiescent
122+
* state, and so on a UP system, synchronize_rcu() need do nothing.
123123
* (But Lai Jiangshan points out the benefits of doing might_sleep()
124124
* to reduce latency.)
125125
*
@@ -130,12 +130,12 @@ void synchronize_rcu(void)
130130
RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map) ||
131131
lock_is_held(&rcu_lock_map) ||
132132
lock_is_held(&rcu_sched_lock_map),
133-
"Illegal synchronize_sched() in RCU read-side critical section");
133+
"Illegal synchronize_rcu() in RCU read-side critical section");
134134
}
135135
EXPORT_SYMBOL_GPL(synchronize_rcu);
136136

137137
/*
138-
* Post an RCU callback to be invoked after the end of an RCU-sched grace
138+
* Post an RCU callback to be invoked after the end of an RCU grace
139139
* period. But since we have but one CPU, that would be after any
140140
* quiescent state.
141141
*/

0 commit comments

Comments
 (0)