]> www.infradead.org Git - users/dwmw2/linux.git/commit
mm: add pcp high_min high_max to proc zoneinfo
authorMengEn Sun <mengensun@tencent.com>
Thu, 10 Oct 2024 12:09:36 +0000 (20:09 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 7 Nov 2024 04:11:12 +0000 (20:11 -0800)
commitf8780515fe914ac03189213c7e485264d65e2ece
treed93ed3d2825a23a1d6a4bd46a88e7a8196b3fa9f
parent002c5d1ca89c153e889e7fc3e0380cd807e40107
mm: add pcp high_min high_max to proc zoneinfo

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