diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-08-03 10:36:32 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-08-31 05:03:14 -0700 |
commit | d8f3f5834febb74d18b5b2098f67d9db740f3e30 (patch) | |
tree | 9af3f875ff4d3ca25745d23dbbfb6dbf9449291e /kernel/sched/core.c | |
parent | 089254fd386eb6800dd7d7863f12a04ada0c35fa (diff) | |
download | lwn-d8f3f5834febb74d18b5b2098f67d9db740f3e30.tar.gz lwn-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/sched/core.c')
0 files changed, 0 insertions, 0 deletions