linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] make hugetlb_optimize_vmemmap compatible with memmap_on_memory
@ 2022-06-17 13:56 Muchun Song
  2022-06-17 13:56 ` [PATCH v3 1/2] mm: memory_hotplug: enumerate all supported section flags Muchun Song
  2022-06-17 13:56 ` [PATCH v3 2/2] mm: memory_hotplug: make hugetlb_optimize_vmemmap compatible with memmap_on_memory Muchun Song
  0 siblings, 2 replies; 3+ messages in thread
From: Muchun Song @ 2022-06-17 13:56 UTC (permalink / raw)
  To: akpm, corbet, david, mike.kravetz, osalvador, paulmck
  Cc: linux-doc, linux-kernel, linux-mm, duanxiongchun, smuchun, Muchun Song

This series makes hugetlb_optimize_vmemmap compatible with memmap_on_memory
and is based on mm-stable.  The reason refers to the patch 2's commit log.

v3:
 - Switch complicated enumeration magic (David).
 - Introduce PageVmemmapSelfHosted to make both parameters compatible (David and Oscar).

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: make hugetlb_optimize_vmemmap compatible with
    memmap_on_memory

 Documentation/admin-guide/kernel-parameters.txt | 22 ++++++------
 Documentation/admin-guide/sysctl/vm.rst         |  5 ++-
 include/linux/memory_hotplug.h                  |  9 -----
 include/linux/mmzone.h                          | 44 ++++++++++++++++++-----
 include/linux/page-flags.h                      | 11 ++++++
 mm/hugetlb_vmemmap.c                            | 47 ++++++++++++++++++++-----
 mm/memory_hotplug.c                             | 33 ++++++++---------
 mm/sparse.c                                     |  2 +-
 8 files changed, 116 insertions(+), 57 deletions(-)


base-commit: 6edda04ccc7cfb281d139e352dbd5dd933bd2751
-- 
2.11.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-17 13:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-17 13:56 [PATCH v3 0/2] make hugetlb_optimize_vmemmap compatible with memmap_on_memory Muchun Song
2022-06-17 13:56 ` [PATCH v3 1/2] mm: memory_hotplug: enumerate all supported section flags Muchun Song
2022-06-17 13:56 ` [PATCH v3 2/2] mm: memory_hotplug: make hugetlb_optimize_vmemmap compatible with memmap_on_memory Muchun Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox