diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-08-03 20:36:32 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-08-31 15:03:14 +0300 |
commit | d8f3f5834febb74d18b5b2098f67d9db740f3e30 (patch) | |
tree | 9af3f875ff4d3ca25745d23dbbfb6dbf9449291e /kernel/sched | |
parent | 089254fd386eb6800dd7d7863f12a04ada0c35fa (diff) | |
download | linux-d8f3f5834febb74d18b5b2098f67d9db740f3e30.tar.xz |
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/sched')
0 files changed, 0 insertions, 0 deletions