linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] Simplify hugetlb vmemmap and improve its readability
@ 2022-06-28  9:22 Muchun Song
  2022-06-28  9:22 ` [PATCH v2 1/8] mm: hugetlb_vmemmap: delete hugetlb_optimize_vmemmap_enabled() Muchun Song
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Muchun Song @ 2022-06-28  9:22 UTC (permalink / raw)
  To: mike.kravetz, david, akpm, corbet
  Cc: linux-mm, linux-kernel, linux-doc, duanxiongchun, Muchun Song

This series aims to simplify hugetlb vmemmap and improve its readability
and is based on next-20220627.

v2:
  - Collect Reviewed-ed and Acked-by.
  - Improve patch 6's log print.
  - Add patch 7 to improve vmemmap_dedup.rst.
  - Add patch 8 for cleanup.

Muchun Song (8):
  mm: hugetlb_vmemmap: delete hugetlb_optimize_vmemmap_enabled()
  mm: hugetlb_vmemmap: optimize vmemmap_optimize_mode handling
  mm: hugetlb_vmemmap: introduce the name HVO
  mm: hugetlb_vmemmap: move vmemmap code related to HugeTLB to
    hugetlb_vmemmap.c
  mm: hugetlb_vmemmap: replace early_param() with core_param()
  mm: hugetlb_vmemmap: improve hugetlb_vmemmap code readability
  mm: hugetlb_vmemmap: move code comments to vmemmap_dedup.rst
  mm: hugetlb_vmemmap: use PTRS_PER_PTE instead of PMD_SIZE / PAGE_SIZE

 Documentation/admin-guide/kernel-parameters.txt |   7 +-
 Documentation/admin-guide/mm/hugetlbpage.rst    |   4 +-
 Documentation/admin-guide/mm/memory-hotplug.rst |   4 +-
 Documentation/admin-guide/sysctl/vm.rst         |   3 +-
 Documentation/vm/vmemmap_dedup.rst              |  72 ++-
 arch/arm64/mm/flush.c                           |  13 +-
 fs/Kconfig                                      |  12 +-
 include/linux/hugetlb.h                         |   7 +-
 include/linux/mm.h                              |   7 -
 include/linux/page-flags.h                      |  32 +-
 include/linux/sysctl.h                          |   4 +
 mm/hugetlb.c                                    |  15 +-
 mm/hugetlb_vmemmap.c                            | 589 ++++++++++++++++++------
 mm/hugetlb_vmemmap.h                            |  45 +-
 mm/sparse-vmemmap.c                             | 399 ----------------
 15 files changed, 567 insertions(+), 646 deletions(-)


base-commit: aab35c3d5112df6e329a1a5a5a1881e5c4ca3821
-- 
2.11.0



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

end of thread, other threads:[~2022-06-29  5:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-28  9:22 [PATCH v2 0/8] Simplify hugetlb vmemmap and improve its readability Muchun Song
2022-06-28  9:22 ` [PATCH v2 1/8] mm: hugetlb_vmemmap: delete hugetlb_optimize_vmemmap_enabled() Muchun Song
2022-06-28  9:22 ` [PATCH v2 2/8] mm: hugetlb_vmemmap: optimize vmemmap_optimize_mode handling Muchun Song
2022-06-28  9:22 ` [PATCH v2 3/8] mm: hugetlb_vmemmap: introduce the name HVO Muchun Song
2022-06-28  9:22 ` [PATCH v2 4/8] mm: hugetlb_vmemmap: move vmemmap code related to HugeTLB to hugetlb_vmemmap.c Muchun Song
2022-06-28  9:22 ` [PATCH v2 5/8] mm: hugetlb_vmemmap: replace early_param() with core_param() Muchun Song
2022-06-28  9:22 ` [PATCH v2 6/8] mm: hugetlb_vmemmap: improve hugetlb_vmemmap code readability Muchun Song
2022-06-29  0:23   ` Mike Kravetz
2022-06-29  5:55     ` Muchun Song
2022-06-28  9:22 ` [PATCH v2 7/8] mm: hugetlb_vmemmap: move code comments to vmemmap_dedup.rst Muchun Song
2022-06-28  9:22 ` [PATCH v2 8/8] mm: hugetlb_vmemmap: use PTRS_PER_PTE instead of PMD_SIZE / PAGE_SIZE Muchun Song
2022-06-29  0:39   ` Mike Kravetz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).