Re: [RFC PATCH] No Reclaim LRU Infrastructure enhancement for memcgroup

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <balbir@...>
Cc: KOSAKI Motohiro <kosaki.motohiro@...>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@...>, Lee Schermerhorn <Lee.Schermerhorn@...>, Rik van Riel <riel@...>, <linux-kernel@...>, Andrew Morton <akpm@...>
Date: Thursday, May 29, 2008 - 7:14 am

On 2008/05/29 11:30 +0900, Balbir Singh wrote:

Hmm... I cannot reporoduce this problem.
When a process exceeds the limit of the group, swap is used as expected.

I tested 2.6.26-rc2-mm1 + splitlru-v8 + Kosaki-san's 3 patches
+ fix for shrink_active_list(attached).

I'm afraid, have you applied rvr-07.1-kosaki-memcg-shrink_list.patch
which Kosaki-san posted to [07/16] of this thread?


Thanks,
Daisuke Nishimura.

---
diff --git a/mm/vmscan.c b/mm/vmscan.c
index d58cb5e..6f9f764 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1153,6 +1153,7 @@ static void shrink_active_list(unsigned long nr_pages, struct zone *
                __mod_zone_page_state(zone, NR_ACTIVE_ANON, -pgmoved);
        spin_unlock_irq(&zone->lru_lock);

+       pgmoved = 0;
        while (!list_empty(&l_hold)) {
                cond_resched();
                page = lru_to_page(&l_hold);
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH -mm 00/16] VM pageout scalability improvements (V8), Lee Schermerhorn, (Tue May 27, 11:54 am)
Re: [PATCH -mm 00/16] VM pageout scalability improvements (V8), KAMEZAWA Hiroyuki, (Tue May 27, 9:12 pm)
Re: [RFC PATCH] No Reclaim LRU Infrastructure enhancement fo..., Daisuke Nishimura, (Thu May 29, 7:14 am)