Re: [PATCH v5 3/7] vfio/nvgrace-gpu: Add support for huge pfnmap
From: Ankit Agrawal
Date: Mon Nov 24 2025 - 10:41:16 EST
>> scoped_guard(rwsem_read, &nvdev->core_device.memory_lock)
>> - ret = vmf_insert_pfn(vmf->vma, vmf->address, pfn);
>> + ret = vfio_pci_vmf_insert_pfn(vmf, pfn, order);
>>
>> return ret;
>> }
>
> It may be worth considering replicating the dev_dbg from
> vfio_pci_mmap_huge_fault(), it's been very useful in validating that
> we're getting the huge PFNMAPs we expect. Thanks,
Sure, will add the log message. Thanks!
>
> Alex