|
@@ -185,9 +185,6 @@ static __latent_entropy void rcu_process_callbacks(struct softirq_action *unused
|
|
|
* benefits of doing might_sleep() to reduce latency.)
|
|
|
*
|
|
|
* Cool, huh? (Due to Josh Triplett.)
|
|
|
- *
|
|
|
- * But we want to make this a static inline later. The cond_resched()
|
|
|
- * currently makes this problematic.
|
|
|
*/
|
|
|
void synchronize_sched(void)
|
|
|
{
|
|
@@ -195,7 +192,6 @@ void synchronize_sched(void)
|
|
|
lock_is_held(&rcu_lock_map) ||
|
|
|
lock_is_held(&rcu_sched_lock_map),
|
|
|
"Illegal synchronize_sched() in RCU read-side critical section");
|
|
|
- cond_resched();
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(synchronize_sched);
|
|
|
|