diff options
| author | Liam Howlett <[email protected]> | 2023-02-27 17:36:03 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-06 01:06:21 +0000 |
| commit | 8372f4d83f96f35915106093cde4565836587123 (patch) | |
| tree | 7887ffe5a6636506e39df77709988589b94ad112 /tools/testing/radix-tree/maple.c | |
| parent | maple_tree: fix freeing of nodes in rcu mode (diff) | |
| download | kernel-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
