From: Michal Hocko Subject: Re: [PATCH v3 3/4] memcg: optimize memcg_get_hierarchical_limit Date: Mon, 25 Jun 2012 13:09:26 +0200 Message-ID: <20120625110926.GJ19805@tiehlicka.suse.cz> References: <1340613872-9581-1-git-send-email-liwp.linux@gmail.com> <4FE834D9.8070903@jp.fujitsu.com> <20120625104357.GB12148@kernel> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20120625104357.GB12148@kernel> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Wanpeng Li Cc: Kamezawa Hiroyuki , Johannes Weiner , Balbir Singh , Andrew Morton , Eric Dumazet , Mike Frysinger , Arun Sharma , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Mon 25-06-12 18:43:57, Wanpeng Li wrote: > On Mon, Jun 25, 2012 at 06:52:25PM +0900, Kamezawa Hiroyuki wrote: > >(2012/06/25 17:44), Wanpeng Li wrote: > >> From: Wanpeng Li > >> > >> Optimize memcg_get_hierarchical_limit to save cpu cycle. > >> > >> Signed-off-by: Wanpeng Li > > > >I can't understand the benefit of this patch to the real world... > > > >So, if you wrote the patch description as "clean up" rather than optimize, > >ok, I'll agree. > OK, I will change to "Cleanup". Thank you Kame. Does this really clean something up? -- Michal Hocko SUSE Labs SUSE LINUX s.r.o. Lihovarska 1060/12 190 00 Praha 9 Czech Republic