[PATCH 0/3] Cleanup for khugepaged

From: Miaohe Lin
Date: Thu Mar 25 2021 - 09:58:26 EST


Hi all,
This series contains cleanups to remove unnecessary out label and
meaningless !pte_present() check. Also use helper function to simplify
the code. More details can be found in the respective changelogs.
Thanks!

Miaohe Lin (3):
khugepaged: use helper function range_in_vma() in
collapse_pte_mapped_thp()
khugepaged: remove unnecessary out label in collapse_huge_page()
khugepaged: remove meaningless !pte_present() check in
khugepaged_scan_pmd()

mm/khugepaged.c | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)

--
2.19.1