aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/memcontrol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/memcontrol.h')
-rw-r--r--include/linux/memcontrol.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
index 8752052da8df..056cf82c0e86 100644
--- a/include/linux/memcontrol.h
+++ b/include/linux/memcontrol.h
@@ -97,8 +97,7 @@ extern void mem_cgroup_note_reclaim_priority(struct mem_cgroup *mem,
97 int priority); 97 int priority);
98extern void mem_cgroup_record_reclaim_priority(struct mem_cgroup *mem, 98extern void mem_cgroup_record_reclaim_priority(struct mem_cgroup *mem,
99 int priority); 99 int priority);
100int mem_cgroup_inactive_anon_is_low(struct mem_cgroup *memcg, 100int mem_cgroup_inactive_anon_is_low(struct mem_cgroup *memcg);
101 struct zone *zone);
102unsigned long mem_cgroup_zone_nr_pages(struct mem_cgroup *memcg, 101unsigned long mem_cgroup_zone_nr_pages(struct mem_cgroup *memcg,
103 struct zone *zone, 102 struct zone *zone,
104 enum lru_list lru); 103 enum lru_list lru);
@@ -252,7 +251,7 @@ static inline bool mem_cgroup_oom_called(struct task_struct *task)
252} 251}
253 252
254static inline int 253static inline int
255mem_cgroup_inactive_anon_is_low(struct mem_cgroup *memcg, struct zone *zone) 254mem_cgroup_inactive_anon_is_low(struct mem_cgroup *memcg)
256{ 255{
257 return 1; 256 return 1;
258} 257}