Re: [PATCH 2/7] mm/gup: remove unused vmas parameter from pin_user_pages_remote()

From: Jason Gunthorpe
Date: Mon Apr 17 2023 - 09:06:48 EST


On Sat, Apr 15, 2023 at 12:27:23AM +0100, Lorenzo Stoakes wrote:
> No invocation of pin_user_pages_remote() uses the vmas parameter, so remove
> it. This forms part of a larger patch set eliminating the use of the vmas
> parameters altogether.
>
> Signed-off-by: Lorenzo Stoakes <lstoakes@xxxxxxxxx>
> ---
> drivers/iommu/iommufd/pages.c | 4 ++--
> drivers/vfio/vfio_iommu_type1.c | 2 +-
> include/linux/mm.h | 2 +-
> mm/gup.c | 8 +++-----
> mm/process_vm_access.c | 2 +-
> 5 files changed, 8 insertions(+), 10 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason