Re: [PATCH 0/2] vfio: Align mmaps

2024-10-23 Thread Cédric Le Goater
On 10/22/24 22:08, Alex Williamson wrote: As described in patch /2, newer kernels may support pfnmap with PMD or PUD sized mappings. Mappings must be aligned in order to see the full benefit of this support. We're largely able to get PMD alignment for free from mmap, but PUD alignment requires

[PATCH 0/2] vfio: Align mmaps

2024-10-22 Thread Alex Williamson
As described in patch /2, newer kernels may support pfnmap with PMD or PUD sized mappings. Mappings must be aligned in order to see the full benefit of this support. We're largely able to get PMD alignment for free from mmap, but PUD alignment requires some effort. Further, we don't actually hav