diff options
author | Frederic Weisbecker <frederic@kernel.org> | 2021-07-06 01:43:43 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-08-06 13:41:49 -0700 |
commit | 508958259bb3d9ca4ec37f0abdb211e9a6f3daa2 (patch) | |
tree | df4200f1051475a2abf001e92143d2d288359cd3 /kernel/rcu | |
parent | 8211e922de2854130e3633f52cd4fc2d7817ceb0 (diff) | |
download | lwn-508958259bb3d9ca4ec37f0abdb211e9a6f3daa2.tar.gz lwn-508958259bb3d9ca4ec37f0abdb211e9a6f3daa2.zip |
rcu: Explain why rcu_all_qs() is a stub in preemptible TREE RCU
The cond_resched() function reports an RCU quiescent state only in
non-preemptible TREE RCU implementation. This commit therefore adds a
comment explaining why cond_resched() does nothing in preemptible kernels.
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Neeraj Upadhyay <neeraju@codeaurora.org>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Uladzislau Rezki <urezki@gmail.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu')
0 files changed, 0 insertions, 0 deletions