All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged mm-stable] mm-add-pcp-high_min-high_max-to-proc-zoneinfo.patch removed from -mm tree
@ 2024-11-06  0:59 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-11-06  0:59 UTC (permalink / raw)
  To: mm-commits, alexjlzheng, mengensun, akpm


The quilt patch titled
     Subject: mm: add pcp high_min high_max to proc zoneinfo
has been removed from the -mm tree.  Its filename was
     mm-add-pcp-high_min-high_max-to-proc-zoneinfo.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: MengEn Sun <mengensun@tencent.com>
Subject: mm: add pcp high_min high_max to proc zoneinfo
Date: Thu, 10 Oct 2024 20:09:36 +0800

When we do not set percpu_pagelist_high_fraction the kernel will compute
the pcp high_min/max by itself, which makes it hard to determine the
current high_min/max values.

So output the pcp high_min/max values to /proc/zoneinfo.

Link: https://lkml.kernel.org/r/20241010120935.656619-1-mengensun@tencent.com
Signed-off-by: MengEn Sun <mengensun@tencent.com>
Reviewed-by: Jinliang Zheng <alexjlzheng@tencent.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/vmstat.c |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

--- a/mm/vmstat.c~mm-add-pcp-high_min-high_max-to-proc-zoneinfo
+++ a/mm/vmstat.c
@@ -1791,13 +1791,17 @@ static void zoneinfo_show_print(struct s
 		pcp = per_cpu_ptr(zone->per_cpu_pageset, i);
 		seq_printf(m,
 			   "\n    cpu: %i"
-			   "\n              count: %i"
-			   "\n              high:  %i"
-			   "\n              batch: %i",
+			   "\n              count:    %i"
+			   "\n              high:     %i"
+			   "\n              batch:    %i"
+			   "\n              high_min: %i"
+			   "\n              high_max: %i",
 			   i,
 			   pcp->count,
 			   pcp->high,
-			   pcp->batch);
+			   pcp->batch,
+			   pcp->high_min,
+			   pcp->high_max);
 #ifdef CONFIG_SMP
 		pzstats = per_cpu_ptr(zone->per_cpu_zonestats, i);
 		seq_printf(m, "\n  vm stats threshold: %d",
_

Patches currently in -mm which might be from mengensun@tencent.com are

vmstat-call-fold_vm_zone_numa_events-before-show-per-zone-numa-event.patch


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

only message in thread, other threads:[~2024-11-06  0:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-06  0:59 [merged mm-stable] mm-add-pcp-high_min-high_max-to-proc-zoneinfo.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.