On Thu, May 23, 2024 at 01:56:26PM -0600, Alex Williamson wrote: > By linking all the device fds we provide to userspace to an > address space through a new pseudo fs, we can use tools like > unmap_mapping_range() to zap all vmas associated with a device. > > Suggested-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx> > --- > drivers/vfio/device_cdev.c | 7 ++++++ > drivers/vfio/group.c | 7 ++++++ > drivers/vfio/vfio_main.c | 44 ++++++++++++++++++++++++++++++++++++++ > include/linux/vfio.h | 1 + > 4 files changed, 59 insertions(+) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason