File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -7289,7 +7289,7 @@ int __sched __cond_resched(void)
7289
7289
return 1 ;
7290
7290
}
7291
7291
/*
7292
- * In preemptible kernels, ->rcu_read_lock_nesting tells the tick
7292
+ * In PREEMPT_RCU kernels, ->rcu_read_lock_nesting tells the tick
7293
7293
* whether the current CPU is in an RCU read-side critical section,
7294
7294
* so the tick can report quiescent states even for CPUs looping
7295
7295
* in kernel context. In contrast, in non-preemptible kernels,
@@ -7298,6 +7298,8 @@ int __sched __cond_resched(void)
7298
7298
* RCU quiescent state. Therefore, the following code causes
7299
7299
* cond_resched() to report a quiescent state, but only when RCU
7300
7300
* is in urgent need of one.
7301
+ * A third case, preemptible, but non-PREEMPT_RCU provides for
7302
+ * urgently needed quiescent states via rcu_flavor_sched_clock_irq().
7301
7303
*/
7302
7304
#ifndef CONFIG_PREEMPT_RCU
7303
7305
rcu_all_qs ();
You can’t perform that action at this time.
0 commit comments