All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged mm-stable] hugetlb-show-nr_huge_pages-in-report_hugepages.patch removed from -mm tree
@ 2025-06-01  5:47 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-06-01  5:47 UTC (permalink / raw)
  To: mm-commits, osalvador, muchun.song, lirongqing, xuwenjie04, akpm


The quilt patch titled
     Subject: hugetlb: show nr_huge_pages in report_hugepages()
has been removed from the -mm tree.  Its filename was
     hugetlb-show-nr_huge_pages-in-report_hugepages.patch

This patch was dropped because it was merged into the mm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Wenjie Xu <xuwenjie04@baidu.com>
Subject: hugetlb: show nr_huge_pages in report_hugepages()
Date: Thu, 15 May 2025 19:42:31 +0800

The number of pre-allocated huge pages should be nr_huge_pages, not
free_huge_pages, although they are same during booting stage

Link: https://lkml.kernel.org/r/20250515114231.65824-1-xuwenjie04@baidu.com
Signed-off-by: Wenjie Xu <xuwenjie04@baidu.com>
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Acked-by: Oscar Salvador <osalvador@suse.de>
Cc: Muchun Song <muchun.song@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/hugetlb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/hugetlb.c~hugetlb-show-nr_huge_pages-in-report_hugepages
+++ a/mm/hugetlb.c
@@ -3733,7 +3733,7 @@ static void __init report_hugepages(void
 
 		string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32);
 		pr_info("HugeTLB: registered %s page size, pre-allocated %ld pages\n",
-			buf, h->free_huge_pages);
+			buf, h->nr_huge_pages);
 		if (nrinvalid)
 			pr_info("HugeTLB: %s page size: %lu invalid page%s discarded\n",
 					buf, nrinvalid, nrinvalid > 1 ? "s" : "");
_

Patches currently in -mm which might be from xuwenjie04@baidu.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-06-01  5:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-01  5:47 [merged mm-stable] hugetlb-show-nr_huge_pages-in-report_hugepages.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.