summaryrefslogtreecommitdiffstats
path: root/kernel/smp.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-08-03 19:36:32 +0200
committerPaul E. McKenney <paulmck@kernel.org>2022-08-31 14:03:14 +0200
commitd8f3f5834febb74d18b5b2098f67d9db740f3e30 (patch)
tree9af3f875ff4d3ca25745d23dbbfb6dbf9449291e /kernel/smp.c
parentrcu: Document reason for rcu_all_qs() call to preempt_disable() (diff)
downloadlinux-d8f3f5834febb74d18b5b2098f67d9db740f3e30.tar.xz
linux-d8f3f5834febb74d18b5b2098f67d9db740f3e30.zip
rcu: Update rcu_access_pointer() header for rcu_dereference_protected()
The rcu_access_pointer() docbook header correctly notes that it may be used during post-grace-period teardown. However, it is usually better to use rcu_dereference_protected() for this purpose. This commit therefore calls out this preferred usage. Reported-by: Maxim Mikityanskiy <maximmi@nvidia.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions