diff options
author | Kaiyang Zhao <[email protected]> | 2024-08-01 23:25:48 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-09-01 20:25:59 -0700 |
commit | 528afe6b9605dee42798c78deadba62e02e89d0f (patch) | |
tree | fe19113f40badb5d096aeebff2a179984e67e3eb | |
parent | 03790c51a475c46647079e67e2460a149938bfd6 (diff) |
mm: print the promo watermark in zoneinfo
Print the promo watermark in zoneinfo just like other watermarks. This
helps users check and verify all the watermarks are appropriate.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kaiyang Zhao <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
-rw-r--r-- | mm/vmstat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c index 2dc97baf7d62..aea58e9fce60 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c @@ -1743,6 +1743,7 @@ static void zoneinfo_show_print(struct seq_file *m, pg_data_t *pgdat, "\n min %lu" "\n low %lu" "\n high %lu" + "\n promo %lu" "\n spanned %lu" "\n present %lu" "\n managed %lu" @@ -1752,6 +1753,7 @@ static void zoneinfo_show_print(struct seq_file *m, pg_data_t *pgdat, min_wmark_pages(zone), low_wmark_pages(zone), high_wmark_pages(zone), + promo_wmark_pages(zone), zone->spanned_pages, zone->present_pages, zone_managed_pages(zone), |