summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2026-05-08 20:43:53 +0300
committerUladzislau Rezki (Sony) <urezki@gmail.com>2026-05-24 10:40:02 +0300
commite6cb527255c9f873851bd18d2bc375f6e6abb311 (patch)
treeeaf0022d38a57d9208a2b9750cbc43e728792bca /include/linux/stackprotector.h
parentd9b4d36b8c8fb6006e7b62dd0ddc218c87e8196a (diff)
downloadlinux-e6cb527255c9f873851bd18d2bc375f6e6abb311.tar.xz
rcu: Document rcu_access_pointer() feeding into cmpxchg()
This commit documents the rcu_access_pointer() use case for fetching the old value of an RCU-protected pointer within a lockless updater for use by an atomic cmpxchg() operation. Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Reported-by: Maxim Mikityanskiy <maximmi@nvidia.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions