[Devel] [PATCH RH9] mm/vmscan: fix /proc/vmscan output
Andrey Zhadchenko
andrey.zhadchenko at virtuozzo.com
Mon Dec 6 17:37:20 MSK 2021
In vz7 memcg counters had its own enum and names, but in vz8 it changed
to vmstat ones. We added "pswpin" and "pswpout" in vmstat_text[] during
rebase which caused half of the /proc/vmstat values to shift two rows up.
Remove duplicate "pswpin" and "pswpout" from vmstat_text[]
Fixes: 546b54bb80cf ("mm: memcontrol: add swapin/out stats")
https://jira.sw.ru/browse/PSBM-130829
Signed-off-by: Andrey Zhadchenko <andrey.zhadchenko at virtuozzo.com>
---
mm/vmstat.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/mm/vmstat.c b/mm/vmstat.c
index 9b31297..111e12d 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -1213,8 +1213,6 @@ int fragmentation_index(struct zone *zone, unsigned int order)
"pgfault",
"pgmajfault",
- "pswpin",
- "pswpout",
"pglazyfreed",
"pgrefill",
--
1.8.3.1
More information about the Devel
mailing list