linux/drivers/vdpa
Sheng Zhao 3fc3068e72 vduse: Use fixed 4KB bounce pages for non-4KB page size
The allocation granularity of bounce pages is PAGE_SIZE. This may cause
even small IO requests to occupy an entire bounce page exclusively. The
kind of memory waste will be more significant when PAGE_SIZE is larger
than 4KB (e.g. arm64 with 64KB pages).

So, optimize it by using fixed 4KB bounce maps and iova allocation
granularity. A single IO request occupies at least a 4KB bounce page
instead of the entire memory page of PAGE_SIZE.

Signed-off-by: Sheng Zhao <sheng.zhao@bytedance.com>
Message-Id: <20250925113516.60305-1-sheng.zhao@bytedance.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2025-10-01 07:24:55 -04:00
..
alibaba vdpa: introduce map ops 2025-10-01 07:24:55 -04:00
ifcvf vdpa: introduce map ops 2025-10-01 07:24:55 -04:00
mlx5 vdpa: introduce map ops 2025-10-01 07:24:55 -04:00
octeon_ep vdpa: introduce map ops 2025-10-01 07:24:55 -04:00
pds vdpa: introduce map ops 2025-10-01 07:24:55 -04:00
solidrun vdpa: introduce map ops 2025-10-01 07:24:55 -04:00
vdpa_sim vdpa: introduce map ops 2025-10-01 07:24:55 -04:00
vdpa_user vduse: Use fixed 4KB bounce pages for non-4KB page size 2025-10-01 07:24:55 -04:00
virtio_pci vdpa: introduce map ops 2025-10-01 07:24:55 -04:00
Kconfig vduse: switch to use virtio map API instead of DMA API 2025-10-01 07:24:55 -04:00
Makefile virtio: vdpa: vDPA driver for Marvell OCTEON DPU devices 2024-07-09 08:42:39 -04:00
vdpa.c vdpa: introduce map ops 2025-10-01 07:24:55 -04:00