diff options
| author | Andrew Morton <akpm@linux-foundation.org> | 2013-09-24 18:27:38 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-24 20:00:26 -0400 |
| commit | b1aff7fcf86c88472b0a70f15d89d7a4adba07bb (patch) | |
| tree | 00a1b6194f6abe8a93a1bfb180365800a2873b65 /include/linux | |
| parent | 694fbc0fe78518d06efa63910bf4ecee660e7852 (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/linux')
| -rw-r--r-- | include/linux/memcontrol.h | 6 |
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 | ||
| 237 | bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg, | 237 | bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg); |
| 238 | struct mem_cgroup *root); | ||
| 239 | 238 | ||
| 240 | void __mem_cgroup_count_vm_event(struct mm_struct *mm, enum vm_event_item idx); | 239 | void __mem_cgroup_count_vm_event(struct mm_struct *mm, enum vm_event_item idx); |
| 241 | static inline void mem_cgroup_count_vm_event(struct mm_struct *mm, | 240 | static 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 | ||
| 437 | static inline | 436 | static inline |
| 438 | bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg, | 437 | bool mem_cgroup_soft_reclaim_eligible(struct mem_cgroup *memcg) |
| 439 | struct mem_cgroup *root) | ||
| 440 | { | 438 | { |
| 441 | return false; | 439 | return false; |
| 442 | } | 440 | } |
