diff options
| author | 2025-05-07 08:06:35 +0200 | |
|---|---|---|
| committer | 2025-05-14 05:44:13 -0600 | |
| commit | bbcacab2e8ee373eb8f4bc613912e7c203deb820 (patch) | |
| tree | d0de28161d1bca9aa0821fb44438f093f0bd46f8 /include/uapi/linux/android/ssh: | |
| parent | block: Remove obsolete configs BLK_MQ_{PCI,VIRTIO} (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 'include/uapi/linux/android/ssh:')
0 files changed, 0 insertions, 0 deletions
