vmstat: mlocked pages statistics
[linux-2.6.git] / include / linux / mmzone.h
index d1f60d5..da2d053 100644 (file)
@@ -88,8 +88,10 @@ enum zone_stat_item {
        NR_ACTIVE_FILE,         /*  "     "     "   "       "         */
 #ifdef CONFIG_UNEVICTABLE_LRU
        NR_UNEVICTABLE,         /*  "     "     "   "       "         */
+       NR_MLOCK,               /* mlock()ed pages found and moved off LRU */
 #else
        NR_UNEVICTABLE = NR_ACTIVE_FILE, /* avoid compiler errors in dead code */
+       NR_MLOCK = NR_ACTIVE_FILE,
 #endif
        NR_ANON_PAGES,  /* Mapped anonymous pages */
        NR_FILE_MAPPED, /* pagecache pages mapped into pagetables.