These comments have been wrong since commit a211c6550efc ("mm: page_alloc: defrag_mode kswapd/kcompactd watermarks") added NR_FREE_PAGES_BLOCKS. Since nobody has complained about it in the last year, it seems unlikely these comments were particularly useful anyway, so delete them.
Unified · Split
| @@ -214,7 +214,6 @@ enum numa_stat_item { · 213 unmodified lines | |||
| 214 | #endif | 214 | #endif |
| 215 | 215 | ||
| 216 | enum zone_stat_item { | 216 | enum zone_stat_item { |
| 217 | /* First 128 byte cacheline (assuming 64 bit words) */ | ||
| 218 | NR_FREE_PAGES, | 217 | NR_FREE_PAGES, |
| 219 | NR_FREE_PAGES_BLOCKS, | 218 | NR_FREE_PAGES_BLOCKS, |
| 220 | NR_ZONE_LRU_BASE, /* Used only for compaction and reclaim retry */ | 219 | NR_ZONE_LRU_BASE, /* Used only for compaction and reclaim retry */ |
| @@ -225,7 +224,6 @@ enum zone_stat_item { · 4 unmodified lines | |||
| 225 | NR_ZONE_UNEVICTABLE, | 224 | NR_ZONE_UNEVICTABLE, |
| 226 | NR_ZONE_WRITE_PENDING, /* Count of dirty, writeback and unstable pages */ | 225 | NR_ZONE_WRITE_PENDING, /* Count of dirty, writeback and unstable pages */ |
| 227 | NR_MLOCK, /* mlock()ed pages found and moved off LRU */ | 226 | NR_MLOCK, /* mlock()ed pages found and moved off LRU */ |
| 228 | /* Second 128 byte cacheline */ | ||
| 229 | #if IS_ENABLED(CONFIG_ZSMALLOC) | 227 | #if IS_ENABLED(CONFIG_ZSMALLOC) |
| 230 | NR_ZSPAGES, /* allocated in zsmalloc */ | 228 | NR_ZSPAGES, /* allocated in zsmalloc */ |
| 231 | #endif | 229 | #endif |