[PATCH v2 0/2] make hugetlb_optimize_vmemmap compatible with memmap_on_memory

Muchun Song posted 2 patches 3 years, 11 months ago
There is a newer version of this series
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                          | 71 ++++++++++++++++++++++---
mm/hugetlb_vmemmap.c                            | 28 +++++++---
mm/memory_hotplug.c                             | 28 +++++-----
mm/sparse.c                                     |  8 +++
8 files changed, 119 insertions(+), 53 deletions(-)
[PATCH v2 0/2] make hugetlb_optimize_vmemmap compatible with memmap_on_memory
Posted by Muchun Song 3 years, 11 months ago
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.

v2:
 - Fix compile error when !CONFIG_ZONE_DEVICE reported by kernel test robot.

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                          | 71 ++++++++++++++++++++++---
 mm/hugetlb_vmemmap.c                            | 28 +++++++---
 mm/memory_hotplug.c                             | 28 +++++-----
 mm/sparse.c                                     |  8 +++
 8 files changed, 119 insertions(+), 53 deletions(-)

-- 
2.11.0