mbox series

[0/2] make hugetlb_optimize_vmemmap compatible with memmap_on_memory

Message ID 20220519124632.92091-1-songmuchun@bytedance.com (mailing list archive)
Headers show
Series make hugetlb_optimize_vmemmap compatible with memmap_on_memory | expand

Message

Muchun Song May 19, 2022, 12:46 p.m. UTC
This series makes hugetlb_optimize_vmemmap compatible with memmap_on_memory
and is based on next-20220518.
The reason refers to the patch 2's commit log.

Muchun Song (2):
  mm: memory_hotplug: enumerate all supported section flags
  mm: memory_hotplug: introduce SECTION_CANNOT_OPTIMIZE_VMEMMAP

 Documentation/admin-guide/kernel-parameters.txt | 22 ++++-----
 Documentation/admin-guide/sysctl/vm.rst         |  5 +-
 include/linux/kconfig.h                         |  1 +
 include/linux/memory_hotplug.h                  |  9 ----
 include/linux/mmzone.h                          | 64 +++++++++++++++++++++----
 mm/hugetlb_vmemmap.c                            | 28 ++++++++---
 mm/memory_hotplug.c                             | 28 +++++------
 mm/sparse.c                                     |  8 ++++
 8 files changed, 112 insertions(+), 53 deletions(-)