Re: [PATCH 0/5] Cleanups and fixup for gup

From: John Hubbard
Date: Sun Aug 08 2021 - 17:19:13 EST


On 8/7/21 2:36 AM, Miaohe Lin wrote:
Hi all,
This series contains cleanups to remove unneeded variable, useless
BUG_ON and use helper to improve readability. Also we fix a potential
pgmap refcnt leak. More details can be found in the respective
changelogs. Thanks!

Miaohe Lin (5):
mm: gup: remove set but unused local variable major
mm: gup: remove unneed local variable orig_refs
mm: gup: remove useless BUG_ON in __get_user_pages()
mm: gup: fix potential pgmap refcnt leak in __gup_device_huge()
mm: gup: use helper PAGE_ALIGNED in populate_vma_page_range()

mm/gup.c | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)


For the series:

Reviewed-by: John Hubbard <jhubbard@xxxxxxxxxx>


thanks,
--
John Hubbard
NVIDIA