]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/mmzone.h
memcg, slab: do not destroy children caches if parent has aliases
[karo-tx-linux.git] / include / linux / mmzone.h
index 5f2052c831547a33b66606d78ac5713086d285e3..fac5509c18f0f74cadb2ccb783ea9e65868d711a 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 */
 
@@ -590,10 +596,10 @@ static inline bool zone_is_empty(struct zone *zone)
 
 /*
  * The NUMA zonelists are doubled because we need zonelists that restrict the
- * allocations to a single node for GFP_THISNODE.
+ * allocations to a single node for __GFP_THISNODE.
  *
  * [0] : Zonelist with fallback
- * [1] : No fallback (GFP_THISNODE)
+ * [1] : No fallback (__GFP_THISNODE)
  */
 #define MAX_ZONELISTS 2