Re: [PATCH v2] mm/gup: honour FOLL_PIN in NOMMU __get_user_pages_locked()

Andrew Morton
2026-04-24T12:41:47Z

On Fri, 24 Apr 2026 14:16:21 +0200 "David Hildenbrand (Arm)" <david@kernel.org> wrote:

> >>> Cc: David Hildenbrand <david@kernel.org>
> >>> Cc: Jason Gunthorpe <jgg@ziepe.ca>
> >>> Cc: John Hubbard <jhubbard@nvidia.com>
> >>> Cc: Peter Xu <peterx@redhat.com>
> >>> Reported-by: Anthropic
> >>> Assisted-by: gkh_clanker_t1000
> >>
> >> Assisted-by: David :(
> >>
> >> (no, I'm not a tool! :) )
> >
> > True, sorry, I guess people can "assist", I should have added that.
> >
> > If Andrew's tools automatically pick this up then:
> >
> > Assisted-by: David Hildenbrand <david@kernel.org>
>
> I think we usually use Suggested-by:, but really I was just joking :)

I thought you were gkh_clanker_t1000

> Andrew, can you add "While at it, don't return NULL pointers in the page array,
> as this is really not expected for GUP users; instead, just fail and return
> -EFAULT."? Thanks!

Did.