aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/maple.c
diff options
context:
space:
mode:
authorLiam Howlett <[email protected]>2023-02-27 17:36:03 +0000
committerAndrew Morton <[email protected]>2023-04-06 01:06:21 +0000
commit8372f4d83f96f35915106093cde4565836587123 (patch)
tree7887ffe5a6636506e39df77709988589b94ad112 /tools/testing/radix-tree/maple.c
parentmaple_tree: fix freeing of nodes in rcu mode (diff)
downloadkernel-8372f4d83f96f35915106093cde4565836587123.tar.gz
kernel-8372f4d83f96f35915106093cde4565836587123.zip
maple_tree: remove extra smp_wmb() from mas_dead_leaves()
The call to mte_set_dead_node() before the smp_wmb() already calls smp_wmb() so this is not needed. This is an optimization for the RCU mode of the maple tree. Link: https://lkml.kernel.org/r/[email protected] Fixes: 54a611b60590 ("Maple Tree: add new data structure") Signed-off-by: Liam Howlett <[email protected]> Signed-off-by: Suren Baghdasaryan <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/maple.c')
0 files changed, 0 insertions, 0 deletions