aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorUladzislau Rezki (Sony)2022-11-29 16:58:21 +0100
committerPaul E. McKenney2023-01-03 17:48:41 -0800
commit8fc5494ad5face62747a3937db66b00db1e5d80b (patch)
treedb67cb2fdc0efa66885c3c7dad99ba8a2e5a8a11 /Documentation
parent8c15a9e8086508962b2b69456ed22dc517d91b15 (diff)
rcu/kvfree: Move need_offload_krc() out of krcp->lock
The need_offload_krc() function currently holds the krcp->lock in order to safely check krcp->head. This commit removes the need for this lock in that function by updating the krcp->head pointer using WRITE_ONCE() macro so that readers can carry out lockless loads of that pointer. Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions