Re: [PATCH v2 2/2] mm: gup: cleanup the gup_fast_*() call chain

"David Hildenbrand (Arm)" <[email protected]>
Newsgroups org.kvack.linux-mm
Message-ID <[email protected]>
On 8/5/26 05:58, Aristeu Rozanski wrote:
> Refactor gup_fast functions so each step of the way returns the number of
> pages pinned. Because the previous step of the chain knows what the number
> it should be, less indicates an error. This way there's no need to pass *nr
> along.
> 
> Suggested-by: David Hildenbrand <[email protected]>
> Link: https://lore.kernel.org/all/[email protected]/T/#u
> Cc: Andrew Morton <[email protected]>
> Cc: David Hildenbrand <[email protected]>
> Cc: Jason Gunthorpe <[email protected]>
> Cc: John Hubbard <[email protected]>
> Cc: Peter Xu <[email protected]>
> Signed-off-by: Aristeu Rozanski <[email protected]>

Thanks!

Acked-by: David Hildenbrand (Arm) <[email protected]>

-- 
Cheers,

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.