[PATCH 05/19] mm/gup: Detect huge pfnmap entries in gup-fast

Jason Gunthorpe jgg at nvidia.com
Wed Aug 14 05:41:06 PDT 2024


On Fri, Aug 09, 2024 at 12:08:55PM -0400, Peter Xu wrote:
> Since gup-fast doesn't have the vma reference, teach it to detect such huge
> pfnmaps by checking the special bit for pmd/pud too, just like ptes.
> 
> Signed-off-by: Peter Xu <peterx at redhat.com>
> ---
>  mm/gup.c | 6 ++++++
>  1 file changed, 6 insertions(+)

Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>

Jason



More information about the linux-arm-kernel mailing list