Re: [RFC v2 PATCH 04/10] vfio/pci: Add a helper to create a DMABUF for a BAR-map VMA
From: Jason Gunthorpe
Date: Mon Mar 23 2026 - 09:36:00 EST
On Wed, Mar 18, 2026 at 02:04:08PM -0600, Alex Williamson wrote:
> AIUI, this affects what the user sees in /proc/<pid>/maps, right?
> Previously a memory range could be clearly associated with a specific
> vfio device, now, only for vfio-pci devices, I think the range is
> associated to a nondescript dmabuf.
Probably
> If so, is that an acceptable, user
> visible, debugging friendly change (ex. lsof)? Thanks,
IIRC there is a way to attach a string to the inode that lsof can
display, if we do that right it should be good enough.
Jason