diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/memcontrol.h | 10 |
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 | ||
| 183 | unsigned long mem_cgroup_soft_limit_reclaim(struct zone *zone, int order, | 183 | bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg); |
| 184 | gfp_t gfp_mask, | ||
| 185 | unsigned long *total_scanned); | ||
| 186 | 184 | ||
| 187 | void __mem_cgroup_count_vm_event(struct mm_struct *mm, enum vm_event_item idx); | 185 | void __mem_cgroup_count_vm_event(struct mm_struct *mm, enum vm_event_item idx); |
| 188 | static inline void mem_cgroup_count_vm_event(struct mm_struct *mm, | 186 | static 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 | ||
| 361 | static inline | 359 | static inline |
| 362 | unsigned long mem_cgroup_soft_limit_reclaim(struct zone *zone, int order, | 360 | bool 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 | ||
| 369 | static inline void mem_cgroup_split_huge_fixup(struct page *head) | 365 | static inline void mem_cgroup_split_huge_fixup(struct page *head) |
