c99e6b267d
[ Upstream commit 4bbcbc6ea2fa379632a24c14cfb47aa603816ac6 ]
For small bitmaps that aren't PAGE_SIZE aligned *and* that are less than
512 pages in bitmap length, use an extra page to be able to cover the
entire range e.g. [1M..3G] which would be iterated more efficiently in a
single iteration, rather than two.
Fixes:
|
||
---|---|---|
.. | ||
cdx | ||
fsl-mc | ||
mdev | ||
pci | ||
platform | ||
Kconfig | ||
Makefile | ||
container.c | ||
device_cdev.c | ||
group.c | ||
iommufd.c | ||
iova_bitmap.c | ||
vfio.h | ||
vfio_iommu_spapr_tce.c | ||
vfio_iommu_type1.c | ||
vfio_main.c | ||
virqfd.c |