[PATCH v1 0/2] vfio/iova_bitmap: bug fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

This small series addresses one small improvement and one bug fix:

1) Avoid obscurity into how I use slab helpers yet I was
never include it directly. And it wasn't detected thanks to a unrelated
commit in v5.18 that lead linux/mm.h to indirectly include slab.h.

2) A bug reported by Avihai reported during migration testing where
we weren't handling correctly PAGE_SIZE unaligned bitmaps, which lead
to miss dirty marked correctly on some IOVAs.

Comments appreciated

Thanks,
	Joao

Joao Martins (2):
  vfio/iova_bitmap: Explicitly include linux/slab.h
  vfio/iova_bitmap: Fix PAGE_SIZE unaligned bitmaps

 drivers/vfio/iova_bitmap.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

-- 
2.17.2




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux