linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] mm/hugetlb: fix /sys and /proc fs dealing with persistent hugepages
@ 2023-08-06  7:48 Xueshi Hu
  2023-08-06  7:48 ` [PATCH v2 1/4] mm/hugetlb: fix the inconsistency of /proc/sys/vm/nr_huge_pages Xueshi Hu
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Xueshi Hu @ 2023-08-06  7:48 UTC (permalink / raw)
  To: mike.kravetz, muchun.song, corbet, akpm, n-horiguchi, osalvador
  Cc: linux-mm, Xueshi Hu

The meaning persistent huge pages is ambiguous both in documentation and
code implementation. About the bugfix, see the details in the commit 
message in patch 1 and 3. 

Additionally, code relevant with hstate:max_huge_pages can be simplified
easily after the bugfix, do it in patch 2.

v1 -> v2
1. Revise the commit message in patch 1.
3. Add fix tag in patch 3.
4. Add the patch 4 to correct documentation.

Xueshi Hu (4):
  mm/hugetlb: fix the inconsistency of /proc/sys/vm/nr_huge_pages
  mm/hugeltb: clean up hstate::max_huge_pages
  mm/hugeltb: fix nodes huge page allocation when there are surplus
    pages
  docs: hugetlbpage.rst: make the meaning of persistent hugetlb pages
    clear

 Documentation/admin-guide/mm/hugetlbpage.rst | 31 ++++++++++----------
 fs/hugetlbfs/inode.c                         |  2 +-
 mm/hugetlb.c                                 | 30 ++++++-------------
 3 files changed, 26 insertions(+), 37 deletions(-)

-- 
2.40.1



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

end of thread, other threads:[~2023-08-26  2:51 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-06  7:48 [PATCH v2 0/4] mm/hugetlb: fix /sys and /proc fs dealing with persistent hugepages Xueshi Hu
2023-08-06  7:48 ` [PATCH v2 1/4] mm/hugetlb: fix the inconsistency of /proc/sys/vm/nr_huge_pages Xueshi Hu
2023-08-07 15:15   ` David Hildenbrand
2023-08-08  2:28     ` Xueshi Hu
2023-08-08  7:58       ` David Hildenbrand
2023-08-08  9:13         ` Xueshi Hu
2023-08-10  0:17           ` Mike Kravetz
2023-08-10  7:34             ` David Hildenbrand
2023-08-10 22:15               ` Mike Kravetz
2023-08-25  4:02               ` Xueshi Hu
2023-08-25 21:15                 ` Mike Kravetz
2023-08-26  2:51                   ` Xueshi Hu
2023-08-06  7:48 ` [PATCH v2 2/4] mm/hugeltb: clean up hstate::max_huge_pages Xueshi Hu
2023-08-07 15:17   ` David Hildenbrand
2023-08-06  7:48 ` [PATCH v2 3/4] mm/hugeltb: fix nodes huge page allocation when there are surplus pages Xueshi Hu
2023-08-06  7:48 ` [PATCH v2 4/4] docs: hugetlbpage.rst: make the meaning of persistent hugetlb pages clear Xueshi Hu

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