[PATCH 0/5] Cleanups and fixup for gup

From: Miaohe Lin
Date: Sat Aug 07 2021 - 05:41:01 EST


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(-)

--
2.23.0