Only memcg_numa_stat_show() uses those wrappers and the lru bitmasks, group them together.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -247,11 +247,6 @@ struct lruvec { · 246 unmodified lines | |||
| 247 | #endif | 247 | #endif |
| 248 | }; | 248 | }; |
| 249 | 249 | ||
| 250 | /* Mask used at gathering information at once (see memcontrol.c) */ | ||
| 251 | #define LRU_ALL_FILE (BIT(LRU_INACTIVE_FILE) | BIT(LRU_ACTIVE_FILE)) | ||
| 252 | #define LRU_ALL_ANON (BIT(LRU_INACTIVE_ANON) | BIT(LRU_ACTIVE_ANON)) | ||
| 253 | #define LRU_ALL ((1 << NR_LRU_LISTS) - 1) | ||
| 254 | |||
| 255 | /* Isolate unmapped file */ | 250 | /* Isolate unmapped file */ |
| 256 | #define ISOLATE_UNMAPPED ((__force isolate_mode_t)0x2) | 251 | #define ISOLATE_UNMAPPED ((__force isolate_mode_t)0x2) |
| 257 | /* Isolate for asynchronous migration */ | 252 | /* Isolate for asynchronous migration */ |