Re: [PATCH 01/13] mm/gup.c: Remove redundant check for PCI P2PDMA page

From: Dan Williams
Date: Thu Jun 27 2024 - 02:37:00 EST


Alistair Popple wrote:
> PCI P2PDMA pages are not mapped with pXX_devmap PTEs therefore the
> check in __gup_device_huge() is redundant. Remove it
>
> Signed-off-by: Alistair Popple <apopple@xxxxxxxxxx>
> Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> Acked-by: David Hildenbrand <david@xxxxxxxxxx>

Acked-by: Dan Williams <dan.j.williams@xxxxxxxxx>