mbox series

[v2,0/4] Cleanup and fixup for khugepaged

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

Message

Miaohe Lin March 6, 2021, 3:29 a.m. UTC
Hi all,
This series contains cleanups to remove unneeded return value, use
helper function and so on. And there is one fix to correct the wrong
result value for trace_mm_collapse_huge_page_isolate().

More details can be found in the respective changelogs. Thanks!

v1->v2:
    drop patch "khugepaged: remove unnecessary mem_cgroup_uncharge() in
collapse_[file|huge_page]"
    collect Acked-by

Miaohe Lin (4):
  khugepaged: remove unneeded return value of
    khugepaged_collapse_pte_mapped_thps()
  khugepaged: reuse the smp_wmb() inside __SetPageUptodate()
  khugepaged: use helper khugepaged_test_exit() in __khugepaged_enter()
  khugepaged: fix wrong result value for
    trace_mm_collapse_huge_page_isolate()

 mm/khugepaged.c | 43 ++++++++++++++++++++-----------------------
 1 file changed, 20 insertions(+), 23 deletions(-)