diff options
| author | Daniel Gomez <[email protected]> | 2024-01-31 14:51:25 -0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-22 10:24:48 -0800 |
| commit | e777ae44e33e48ad01bfdc978076b03c1f091b4f (patch) | |
| tree | 19b71e20301971dcdfe29caa46eaee03a3e9893f /tools/perf/scripts/python | |
| parent | a60cc288a1a2604bd86d3df129f269887018c3cb (diff) | |
XArray: add cmpxchg order test
XArray multi-index entries do not keep track of the order stored once the
entry is being marked as used with cmpxchg (conditionally replaced with
NULL). Add a test to check the order is actually lost. The test also
verifies the order and entries for all the tied indexes before and after
the NULL replacement with xa_cmpxchg.
Add another entry at 1 << order that keeps the node around and the order
information for the NULL-entry after xa_cmpxchg.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Daniel Gomez <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>
Cc: Darrick J. Wong <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Pankaj Raghav <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions