diff options
| author | 2022-11-29 16:58:21 +0100 | |
|---|---|---|
| committer | 2023-01-03 17:48:41 -0800 | |
| commit | 8fc5494ad5face62747a3937db66b00db1e5d80b (patch) | |
| tree | db67cb2fdc0efa66885c3c7dad99ba8a2e5a8a11 /include/uapi/linux/byteorder/ssh:/git:/git.zx2c4.com | |
| parent | rcu/kvfree: Move bulk/list reclaim to separate functions (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 'include/uapi/linux/byteorder/ssh:/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
