[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <16455627.1221570144641.kamezawa.hiroyu@jp.fujitsu.com>
Date: Tue, 16 Sep 2008 22:02:24 +0900 (JST)
From: kamezawa.hiroyu@...fujitsu.com
To: Pavel Emelyanov <xemul@...nvz.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
balbir@...ux.vnet.ibm.com, hugh@...itas.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, menage@...gle.com,
Dave Hansen <haveblue@...ibm.com>, nickpiggin@...oo.com.au
Subject: Re: Re: [RFC][PATCH 11/9] lazy lru free vector for memcg
----- Original Message -----
>[snip]
>
>> @@ -938,6 +1047,7 @@ static int mem_cgroup_force_empty(struct
>> * So, we have to do loop here until all lists are empty.
>> */
>> while (mem->res.usage > 0) {
>> + drain_page_cgroup_all();
>
>Shouldn't we wait here till the drain process completes?
>
I thought schedule_on_each_cpu() watis for completion of the work.
I'll check it, again.
Thank you for review.
Regards,
-Kame
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists