vmstat: mlocked pages statistics
[linux-2.6-block.git] / include / linux / mmzone.h
index d1f60d5fe2eab1e06ed09386f7ae4e8104e97013..da2d053a95f10612a1ce252584acfed9d604f3ce 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.