diff options
| author | Liam R. Howlett <[email protected]> | 2023-02-27 17:36:05 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-06 01:06:22 +0000 |
| commit | 0a2b18d948838e16912b3b627b504ab062b7d02a (patch) | |
| tree | bf449173908e68d246593d9f3cef153401d1c166 /tools/perf/scripts/python/compaction-times.py | |
| parent | maple_tree: fix write memory barrier of nodes once dead for RCU mode (diff) | |
| download | kernel-0a2b18d948838e16912b3b627b504ab062b7d02a.tar.gz kernel-0a2b18d948838e16912b3b627b504ab062b7d02a.zip | |
maple_tree: add smp_rmb() to dead node detection
Add an smp_rmb() before reading the parent pointer to ensure that anything
read from the node prior to the parent pointer hasn't been reordered ahead
of this check.
The is necessary for RCU mode.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 54a611b60590 ("Maple Tree: add new data structure")
Signed-off-by: Liam R. Howlett <[email protected]>
Signed-off-by: Suren Baghdasaryan <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
