Re: [PATCH v4 09/25] mm/gup.c: Remove redundant check for PCI P2PDMA page
From: David Hildenbrand
Date: Tue Dec 17 2024 - 17:16:01 EST
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@xxxxxxxxxx>
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
Reviewed-by: Dan Wiliams <dan.j.williams@xxxxxxxxx>
Acked-by: David Hildenbrand <david@xxxxxxxxxx>
---
Nit: patch subject should start with "mm/gup: ...".
--
Cheers,
David / dhildenb