aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmzone.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mmzone.h')
-rw-r--r--include/linux/mmzone.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 2d4a8804eafa..acd4665c3025 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -114,21 +114,16 @@ enum zone_stat_item {
114 NR_ZONE_LRU_BASE, /* Used only for compaction and reclaim retry */ 114 NR_ZONE_LRU_BASE, /* Used only for compaction and reclaim retry */
115 NR_ZONE_LRU_ANON = NR_ZONE_LRU_BASE, 115 NR_ZONE_LRU_ANON = NR_ZONE_LRU_BASE,
116 NR_ZONE_LRU_FILE, 116 NR_ZONE_LRU_FILE,
117 NR_ZONE_WRITE_PENDING, /* Count of dirty, writeback and unstable pages */
117 NR_MLOCK, /* mlock()ed pages found and moved off LRU */ 118 NR_MLOCK, /* mlock()ed pages found and moved off LRU */
118 NR_FILE_PAGES,
119 NR_FILE_DIRTY,
120 NR_WRITEBACK,
121 NR_SLAB_RECLAIMABLE, 119 NR_SLAB_RECLAIMABLE,
122 NR_SLAB_UNRECLAIMABLE, 120 NR_SLAB_UNRECLAIMABLE,
123 NR_PAGETABLE, /* used for pagetables */ 121 NR_PAGETABLE, /* used for pagetables */
124 NR_KERNEL_STACK, 122 NR_KERNEL_STACK,
125 /* Second 128 byte cacheline */ 123 /* Second 128 byte cacheline */
126 NR_UNSTABLE_NFS, /* NFS unstable pages */
127 NR_BOUNCE, 124 NR_BOUNCE,
128 NR_VMSCAN_WRITE, 125 NR_VMSCAN_WRITE,
129 NR_VMSCAN_IMMEDIATE, /* Prioritise for reclaim when writeback ends */ 126 NR_VMSCAN_IMMEDIATE, /* Prioritise for reclaim when writeback ends */
130 NR_WRITEBACK_TEMP, /* Writeback using temporary buffers */
131 NR_SHMEM, /* shmem pages (included tmpfs/GEM pages) */
132 NR_DIRTIED, /* page dirtyings since bootup */ 127 NR_DIRTIED, /* page dirtyings since bootup */
133 NR_WRITTEN, /* page writings since bootup */ 128 NR_WRITTEN, /* page writings since bootup */
134#if IS_ENABLED(CONFIG_ZSMALLOC) 129#if IS_ENABLED(CONFIG_ZSMALLOC)
@@ -142,9 +137,6 @@ enum zone_stat_item {
142 NUMA_LOCAL, /* allocation from local node */ 137 NUMA_LOCAL, /* allocation from local node */
143 NUMA_OTHER, /* allocation from other node */ 138 NUMA_OTHER, /* allocation from other node */
144#endif 139#endif
145 NR_ANON_THPS,
146 NR_SHMEM_THPS,
147 NR_SHMEM_PMDMAPPED,
148 NR_FREE_CMA_PAGES, 140 NR_FREE_CMA_PAGES,
149 NR_VM_ZONE_STAT_ITEMS }; 141 NR_VM_ZONE_STAT_ITEMS };
150 142
@@ -164,6 +156,15 @@ enum node_stat_item {
164 NR_ANON_MAPPED, /* Mapped anonymous pages */ 156 NR_ANON_MAPPED, /* Mapped anonymous pages */
165 NR_FILE_MAPPED, /* pagecache pages mapped into pagetables. 157 NR_FILE_MAPPED, /* pagecache pages mapped into pagetables.
166 only modified from process context */ 158 only modified from process context */
159 NR_FILE_PAGES,
160 NR_FILE_DIRTY,
161 NR_WRITEBACK,
162 NR_WRITEBACK_TEMP, /* Writeback using temporary buffers */
163 NR_SHMEM, /* shmem pages (included tmpfs/GEM pages) */
164 NR_SHMEM_THPS,
165 NR_SHMEM_PMDMAPPED,
166 NR_ANON_THPS,
167 NR_UNSTABLE_NFS, /* NFS unstable pages */
167 NR_VM_NODE_STAT_ITEMS 168 NR_VM_NODE_STAT_ITEMS
168}; 169};
169 170