aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/memcontrol.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
index 6c416092e324..4b78661c68d0 100644
--- a/include/linux/memcontrol.h
+++ b/include/linux/memcontrol.h
@@ -180,9 +180,7 @@ static inline void mem_cgroup_dec_page_stat(struct page *page,
180 mem_cgroup_update_page_stat(page, idx, -1); 180 mem_cgroup_update_page_stat(page, idx, -1);
181} 181}
182 182
183unsigned long mem_cgroup_soft_limit_reclaim(struct zone *zone, int order, 183bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg);
184 gfp_t gfp_mask,
185 unsigned long *total_scanned);
186 184
187void __mem_cgroup_count_vm_event(struct mm_struct *mm, enum vm_event_item idx); 185void __mem_cgroup_count_vm_event(struct mm_struct *mm, enum vm_event_item idx);
188static inline void mem_cgroup_count_vm_event(struct mm_struct *mm, 186static inline void mem_cgroup_count_vm_event(struct mm_struct *mm,
@@ -359,11 +357,9 @@ static inline void mem_cgroup_dec_page_stat(struct page *page,
359} 357}
360 358
361static inline 359static inline
362unsigned long mem_cgroup_soft_limit_reclaim(struct zone *zone, int order, 360bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg)
363 gfp_t gfp_mask,
364 unsigned long *total_scanned)
365{ 361{
366 return 0; 362 return false;
367} 363}
368 364
369static inline void mem_cgroup_split_huge_fixup(struct page *head) 365static inline void mem_cgroup_split_huge_fixup(struct page *head)