diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2024-03-15 18:12:09 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-04-01 11:53:36 -0600 |
commit | 7d8d35791b1b87a503ebe1f2f48407ee05dbaf5e (patch) | |
tree | ca4ac4e93b1c55a615b12c663e38f40903849537 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 39cd87c4eb2b893354f3b850f916353f2658ae6f (diff) |
brd: Remove use of page->index
This debugging check will become more costly in the future when we shrink
struct page. It has not proven to be useful, so simply remove it.
This lets us use __xa_insert instead of __xa_cmpxchg() as we no longer
need to know about the page that is currently stored in the XArray.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions