[PATCH 0/5] Some cleanups for hugetlb

From: Miaohe Lin
Date: Mon Mar 08 2021 - 06:29:21 EST


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

--
2.19.1