lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220628092235.91270-1-songmuchun@bytedance.com>
Date:   Tue, 28 Jun 2022 17:22:27 +0800
From:   Muchun Song <songmuchun@...edance.com>
To:     mike.kravetz@...cle.com, david@...hat.com,
        akpm@...ux-foundation.org, corbet@....net
Cc:     linux-mm@...ck.org, linux-kernel@...r.kernel.org,
        linux-doc@...r.kernel.org, duanxiongchun@...edance.com,
        Muchun Song <songmuchun@...edance.com>
Subject: [PATCH v2 0/8] Simplify hugetlb vmemmap and improve its readability

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ