aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2013-09-24 18:27:38 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-24 20:00:26 -0400
commitb1aff7fcf86c88472b0a70f15d89d7a4adba07bb (patch)
tree00a1b6194f6abe8a93a1bfb180365800a2873b65 /include
parent694fbc0fe78518d06efa63910bf4ecee660e7852 (diff)
revert "vmscan, memcg: do softlimit reclaim also for targeted reclaim"
Revert commit a5b7c87f9207 ("vmscan, memcg: do softlimit reclaim also for targeted reclaim") I merged this prematurely - Michal and Johannes still disagree about the overall design direction and the future remains unclear. Cc: Michal Hocko <mhocko@suse.cz> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/memcontrol.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
index ef2b9bd7fafa..6054c9f3a5e8 100644
--- a/include/linux/memcontrol.h
+++ b/include/linux/memcontrol.h
@@ -234,8 +234,7 @@ static inline void mem_cgroup_dec_page_stat(struct page *page,
234 mem_cgroup_update_page_stat(page, idx, -1); 234 mem_cgroup_update_page_stat(page, idx, -1);
235} 235}
236 236
237bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg, 237bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg);
238 struct mem_cgroup *root);
239 238
240void __mem_cgroup_count_vm_event(struct mm_struct *mm, enum vm_event_item idx); 239void __mem_cgroup_count_vm_event(struct mm_struct *mm, enum vm_event_item idx);
241static inline void mem_cgroup_count_vm_event(struct mm_struct *mm, 240static inline void mem_cgroup_count_vm_event(struct mm_struct *mm,
@@ -435,8 +434,7 @@ static inline void mem_cgroup_dec_page_stat(struct page *page,
435} 434}
436 435
437static inline 436static inline
438bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg, 437bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg)
439 struct mem_cgroup *root)
440{ 438{
441 return false; 439 return false;
442} 440}