mm: keep page cache radix tree nodes in check
[cascardo/linux.git] / include / linux / mmzone.h
index 9b61b9b..fac5509 100644 (file)
@@ -142,6 +142,9 @@ enum zone_stat_item {
        NUMA_LOCAL,             /* allocation from local node */
        NUMA_OTHER,             /* allocation from other node */
 #endif
+       WORKINGSET_REFAULT,
+       WORKINGSET_ACTIVATE,
+       WORKINGSET_NODERECLAIM,
        NR_ANON_TRANSPARENT_HUGEPAGES,
        NR_FREE_CMA_PAGES,
        NR_VM_ZONE_STAT_ITEMS };
@@ -392,6 +395,9 @@ struct zone {
        spinlock_t              lru_lock;
        struct lruvec           lruvec;
 
+       /* Evictions & activations on the inactive file list */
+       atomic_long_t           inactive_age;
+
        unsigned long           pages_scanned;     /* since last reclaim */
        unsigned long           flags;             /* zone flags, see below */