Messages in this thread | | | Date | Sat, 9 May 2009 01:29:46 +0900 (JST) | Subject | Re: [PATCH 2/2] memcg fix stale swap cache account leak v6 | From | "KAMEZAWA Hiroyuki" <> |
| |
Daisuke Nishimura wrote: > On Fri, 8 May 2009 14:09:10 +0900 > KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
>> - avoid swapin-readahead when memcg is activated. > I agree that disabling readahead would be the easiest way to avoid type-1. > And this patch looks good to me about it. > Thanks.
> But if we go in this way to avoid type-1, I think my patch(*1) would be > enough to avoid type-2 and is simpler than this one. > I've confirmed in my test that no leak can be seen with my patch and > with setting page-cluster to 0. > > *1 http://marc.info/?l=linux-kernel&m=124115252607665&w=2 > Ok, I'll merge yours on my set. the whole patch set will be [1/3] memcg_activated() [2/3] avoid readahead [3/3] your fix.
I'll post in the next week.
Thanks, -Kame
| |