linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] mm/hugetlb: fix /sys and /proc fs dealing with persistent hugepages
@ 2023-07-30 12:51 Xueshi Hu
  2023-07-30 12:51 ` [PATCH 1/3] mm/hugetlb: fix the inconsistency of /proc/sys/vm/nr_huge_pages Xueshi Hu
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Xueshi Hu @ 2023-07-30 12:51 UTC (permalink / raw)
  To: mike.kravetz, muchun.song, akpm; +Cc: linux-mm, Xueshi Hu

Hi,

The interfaces provided by /sys and /proc for handling huge pages do not 
adequately address the meaning of persistent. Luckily, this can be easily
resolved with minor modifications. Additionally, code relevant with 
hstate:max_huge_pages can be simplified.

Thanks,
Hu

Xueshi Hu (3):
  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

 fs/hugetlbfs/inode.c |  2 +-
 mm/hugetlb.c         | 30 +++++++++---------------------
 2 files changed, 10 insertions(+), 22 deletions(-)

-- 
2.40.1



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

end of thread, other threads:[~2023-08-02 18:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-30 12:51 [PATCH 0/3] mm/hugetlb: fix /sys and /proc fs dealing with persistent hugepages Xueshi Hu
2023-07-30 12:51 ` [PATCH 1/3] mm/hugetlb: fix the inconsistency of /proc/sys/vm/nr_huge_pages Xueshi Hu
2023-07-31 22:17   ` Mike Kravetz
2023-08-01 12:22     ` Xueshi Hu
2023-08-01 18:49       ` Mike Kravetz
2023-08-02  7:31         ` Xueshi Hu
2023-08-02 18:20           ` Mike Kravetz
2023-07-30 12:51 ` [PATCH 2/3] mm/hugeltb: clean up hstate::max_huge_pages Xueshi Hu
2023-07-30 12:51 ` [PATCH 3/3] mm/hugeltb: fix nodes huge page allocation when there are surplus pages Xueshi Hu
2023-07-31 22:56   ` 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).