mbox series

[0/3] cleanup hugetlb_vmemmap

Message ID 20220404074652.68024-1-songmuchun@bytedance.com (mailing list archive)
Headers show
Series cleanup hugetlb_vmemmap | expand

Message

Muchun Song April 4, 2022, 7:46 a.m. UTC
This series is based on next-20220404.

The word of "free" is not expressive enough to express the feature of optimizing
vmemmap pages associated with each HugeTLB, rename this keywork to "optimeze" is
more clear.  In this series, cheanup related codes to make it more clear and
expressive.  This is suggested by David.

Muchun Song (3):
  mm: hugetlb_vmemmap: cleanup hugetlb_vmemmap related functions
  mm: hugetlb_vmemmap: cleanup hugetlb_free_vmemmap_enabled*
  mm: hugetlb_vmemmap: cleanup CONFIG_HUGETLB_PAGE_FREE_VMEMMAP*

 Documentation/admin-guide/kernel-parameters.txt |  4 +-
 Documentation/admin-guide/mm/hugetlbpage.rst    |  2 +-
 arch/arm64/Kconfig                              |  2 +-
 arch/arm64/mm/flush.c                           |  4 +-
 arch/x86/Kconfig                                |  2 +-
 arch/x86/mm/init_64.c                           |  2 +-
 fs/Kconfig                                      | 16 +++----
 include/linux/hugetlb.h                         |  4 +-
 include/linux/mm.h                              |  2 +-
 include/linux/page-flags.h                      | 18 ++++----
 mm/Makefile                                     |  2 +-
 mm/hugetlb.c                                    | 10 ++---
 mm/hugetlb_vmemmap.c                            | 56 ++++++++++++-------------
 mm/hugetlb_vmemmap.h                            | 24 +++++------
 mm/memory_hotplug.c                             |  2 +-
 mm/sparse-vmemmap.c                             |  4 +-
 16 files changed, 76 insertions(+), 78 deletions(-)