mm: memcg: add swapcache stat for memcg v2
[platform/kernel/linux-starfive.git] / mm / vmstat.c
index 07dc0af..a0e9495 100644 (file)
@@ -1215,6 +1215,9 @@ const char * const vmstat_text[] = {
        "nr_shadow_call_stack",
 #endif
        "nr_page_table_pages",
+#ifdef CONFIG_SWAP
+       "nr_swapcached",
+#endif
 
        /* enum writeback_stat_item counters */
        "nr_dirty_threshold",