diff options
author | Christoph Hellwig <hch@lst.de> | 2025-05-07 08:06:35 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-05-14 05:44:13 -0600 |
commit | bbcacab2e8ee373eb8f4bc613912e7c203deb820 (patch) | |
tree | d0de28161d1bca9aa0821fb44438f093f0bd46f8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1e332795d00655305cf0ae40be4e2eaa9a399d79 (diff) |
brd: avoid extra xarray lookups on first write
The xarray can return the previous entry at a location. Use this
fact to simplify the brd code when there is no existing page at
a location. This also slighly improves the handling of racy
discards as we now always have a page under RCU protection by the
time we are ready to copy the data.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20250507060700.3929430-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions