File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
135135EXPORT_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 */
You can’t perform that action at this time.
0 commit comments