aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2021-04-29 18:18:01 +0000
committerPaul E. McKenney <[email protected]>2021-05-13 16:13:23 +0000
commit1893afd63409111c6edcee9d6e1196fc06cf4fd7 (patch)
tree7e69c09686f67289eacdabcd4f25e8471230c93e /lib/bitmap.c
parentrcu: Create an unrcu_pointer() to remove __rcu from a pointer (diff)
downloadkernel-1893afd63409111c6edcee9d6e1196fc06cf4fd7.tar.gz
kernel-1893afd63409111c6edcee9d6e1196fc06cf4fd7.zip
rcu: Improve comments describing RCU read-side critical sections
There are a number of places that call out the fact that preempt-disable regions of code now act as RCU read-side critical sections, where preempt-disable regions of code include irq-disable regions of code, bh-disable regions of code, hardirq handlers, and NMI handlers. However, someone relying solely on (for example) the call_rcu() header comment might well have no idea that preempt-disable regions of code have RCU semantics. This commit therefore updates the header comments for call_rcu(), synchronize_rcu(), rcu_dereference_bh_check(), and rcu_dereference_sched_check() to call out these new(ish) forms of RCU readers. Reported-by: Michel Lespinasse <[email protected]> [ paulmck: Apply Matthew Wilcox and Michel Lespinasse feedback. ] Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions