History

mm: memcontrol: quarantine the mem_cgroup_[node_]nr_lru_pages() API

Only memcg_numa_stat_show() uses those wrappers and the lru bitmasks, group them together.

Johannes Weiner committed 7 years ago

Commit 113b7df1 parent 21d89d12 files · +36 −36Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/mmzone.h+0−5
@@ -247,11 +247,6 @@ struct lruvec { · 246 unmodified lines
247#endif247#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 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t