[PATCH v4 09/25] mm/gup.c: Remove redundant check for PCI P2PDMA page

David Hildenbrand david at redhat.com
Tue Dec 17 14:06:25 PST 2024


On 17.12.24 06:12, 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 at nvidia.com>
> Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
> Reviewed-by: Dan Wiliams <dan.j.williams at intel.com>
> Acked-by: David Hildenbrand <david at redhat.com>
> ---

Nit: patch subject should start with "mm/gup: ...".

-- 
Cheers,

David / dhildenb




More information about the linux-arm-kernel mailing list