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