diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/memcontrol.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 05206aac5965..b87068a1a09e 100644 --- a/include/linux/memcontrol.h +++ b/include/linux/memcontrol.h | |||
| @@ -106,8 +106,10 @@ extern void mem_cgroup_end_migration(struct mem_cgroup *memcg, | |||
| 106 | /* | 106 | /* |
| 107 | * For memory reclaim. | 107 | * For memory reclaim. |
| 108 | */ | 108 | */ |
| 109 | int mem_cgroup_inactive_anon_is_low(struct mem_cgroup *memcg); | 109 | int mem_cgroup_inactive_anon_is_low(struct mem_cgroup *memcg, |
| 110 | int mem_cgroup_inactive_file_is_low(struct mem_cgroup *memcg); | 110 | struct zone *zone); |
| 111 | int mem_cgroup_inactive_file_is_low(struct mem_cgroup *memcg, | ||
| 112 | struct zone *zone); | ||
| 111 | int mem_cgroup_select_victim_node(struct mem_cgroup *memcg); | 113 | int mem_cgroup_select_victim_node(struct mem_cgroup *memcg); |
| 112 | unsigned long mem_cgroup_zone_nr_lru_pages(struct mem_cgroup *memcg, | 114 | unsigned long mem_cgroup_zone_nr_lru_pages(struct mem_cgroup *memcg, |
| 113 | int nid, int zid, unsigned int lrumask); | 115 | int nid, int zid, unsigned int lrumask); |
| @@ -295,13 +297,13 @@ static inline bool mem_cgroup_disabled(void) | |||
| 295 | } | 297 | } |
| 296 | 298 | ||
| 297 | static inline int | 299 | static inline int |
| 298 | mem_cgroup_inactive_anon_is_low(struct mem_cgroup *memcg) | 300 | mem_cgroup_inactive_anon_is_low(struct mem_cgroup *memcg, struct zone *zone) |
| 299 | { | 301 | { |
| 300 | return 1; | 302 | return 1; |
| 301 | } | 303 | } |
| 302 | 304 | ||
| 303 | static inline int | 305 | static inline int |
| 304 | mem_cgroup_inactive_file_is_low(struct mem_cgroup *memcg) | 306 | mem_cgroup_inactive_file_is_low(struct mem_cgroup *memcg, struct zone *zone) |
| 305 | { | 307 | { |
| 306 | return 1; | 308 | return 1; |
| 307 | } | 309 | } |
