mbox series

[0/3] Cleanup for khugepaged

Message ID 20210325135647.64106-1-linmiaohe@huawei.com (mailing list archive)
Headers show
Series Cleanup for khugepaged | expand

Message

Miaohe Lin March 25, 2021, 1:56 p.m. UTC
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(-)

Comments

Zi Yan March 25, 2021, 2:21 p.m. UTC | #1
On 25 Mar 2021, at 9:56, Miaohe Lin wrote:

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

All looks good to me. Thanks.

Reviewed-by: Zi Yan <ziy@nvidia.com>

—
Best Regards,
Yan Zi