mbox series

[0/5] Some cleanups for hugetlb

Message ID 20210308112809.26107-1-linmiaohe@huawei.com (mailing list archive)
Headers show
Series Some cleanups for hugetlb | expand

Message

Miaohe Lin March 8, 2021, 11:28 a.m. UTC
Hi all,
This series contains cleanups to remove unnecessary VM_BUG_ON_PAGE, use
helper function and so on. I also collect some previous patches into this
series in case they are forgotten.
More details can be found in the respective changelogs. Thanks!

Miaohe Lin (5):
  mm/hugetlb: use some helper functions to cleanup code
  mm/hugetlb: optimize the surplus state transfer code in
    move_hugetlb_state()
  hugetlb_cgroup: remove unnecessary VM_BUG_ON_PAGE in
    hugetlb_cgroup_migrate()
  mm/hugetlb: simplify the code when alloc_huge_page() failed in
    hugetlb_no_page()
  mm/hugetlb: avoid calculating fault_mutex_hash in truncate_op case

 fs/hugetlbfs/inode.c |  6 +++---
 mm/hugetlb.c         | 21 ++++++++++++---------
 mm/hugetlb_cgroup.c  |  1 -
 3 files changed, 15 insertions(+), 13 deletions(-)