NUMA Balancing: add page promotion counter
[platform/kernel/linux-starfive.git] / mm / vmstat.c
index 4057372..846b670 100644 (file)
@@ -1242,6 +1242,9 @@ const char * const vmstat_text[] = {
 #ifdef CONFIG_SWAP
        "nr_swapcached",
 #endif
+#ifdef CONFIG_NUMA_BALANCING
+       "pgpromote_success",
+#endif
 
        /* enum writeback_stat_item counters */
        "nr_dirty_threshold",