diff options
Diffstat (limited to 'include/linux/memcontrol.h')
| -rw-r--r-- | include/linux/memcontrol.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 4b78661c68d0..d8dd6560621b 100644 --- a/include/linux/memcontrol.h +++ b/include/linux/memcontrol.h | |||
| @@ -180,7 +180,8 @@ 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 | bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg); | 183 | bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg, |
| 184 | struct mem_cgroup *root); | ||
| 184 | 185 | ||
| 185 | void __mem_cgroup_count_vm_event(struct mm_struct *mm, enum vm_event_item idx); | 186 | void __mem_cgroup_count_vm_event(struct mm_struct *mm, enum vm_event_item idx); |
| 186 | static inline void mem_cgroup_count_vm_event(struct mm_struct *mm, | 187 | static inline void mem_cgroup_count_vm_event(struct mm_struct *mm, |
| @@ -357,7 +358,8 @@ static inline void mem_cgroup_dec_page_stat(struct page *page, | |||
| 357 | } | 358 | } |
| 358 | 359 | ||
| 359 | static inline | 360 | static inline |
| 360 | bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg) | 361 | bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg, |
| 362 | struct mem_cgroup *root) | ||
| 361 | { | 363 | { |
| 362 | return false; | 364 | return false; |
| 363 | } | 365 | } |
