From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail137.messagelabs.com (mail137.messagelabs.com [216.82.249.19]) by kanga.kvack.org (Postfix) with ESMTP id A84AD6B0082 for ; Fri, 10 Jul 2009 03:57:11 -0400 (EDT) Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e8.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n6A89Ieo005819 for ; Fri, 10 Jul 2009 04:09:18 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n6A8KChF256704 for ; Fri, 10 Jul 2009 04:20:12 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n6A8He0O022194 for ; Fri, 10 Jul 2009 04:17:41 -0400 Date: Fri, 10 Jul 2009 13:50:09 +0530 From: Balbir Singh Subject: Re: [RFC][PATCH 3/5] Memory controller soft limit organize cgroups (v8) Message-ID: <20090710082009.GH20129@balbir.in.ibm.com> Reply-To: balbir@linux.vnet.ibm.com References: <20090709171441.8080.85983.sendpatchset@balbir-laptop> <20090709171501.8080.85138.sendpatchset@balbir-laptop> <20090710142135.8079cd22.kamezawa.hiroyu@jp.fujitsu.com> <20090710080557.GF20129@balbir.in.ibm.com> <20090710171457.e2e52319.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20090710171457.e2e52319.kamezawa.hiroyu@jp.fujitsu.com> Sender: owner-linux-mm@kvack.org To: KAMEZAWA Hiroyuki Cc: Andrew Morton , linux-mm@kvack.org, lizf@cn.fujitsu.com, KOSAKI Motohiro List-ID: * KAMEZAWA Hiroyuki [2009-07-10 17:14:57]: > On Fri, 10 Jul 2009 13:35:57 +0530 > Balbir Singh wrote: > > > * KAMEZAWA Hiroyuki [2009-07-10 14:21:35]: > > > > > > > > As pointed out in several times, plz avoid using jiffies. > > > > Sorry, I forgot to respond to this part. Are you suggesting we avoid > > jiffies (use ktime_t) or the time based approach. I responded to the > > time base versus scanning approach to the mail earlier. > > > > - > > IIUC, it was a comment to old patches "don't use jiffies, count event" > (by Andrew Morton ?) I fully agree with that. > OK, so I played around with it and found that per-cpu events did not give me good behaviour. Let me retry my approach and experiments and see if it works well. -- Balbir -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org