Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755398AbYKNHxu (ORCPT ); Fri, 14 Nov 2008 02:53:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751143AbYKNHxl (ORCPT ); Fri, 14 Nov 2008 02:53:41 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:60337 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751126AbYKNHxl (ORCPT ); Fri, 14 Nov 2008 02:53:41 -0500 Message-ID: <491D2E6C.1000009@cn.fujitsu.com> Date: Fri, 14 Nov 2008 15:53:16 +0800 From: Li Zefan User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: KAMEZAWA Hiroyuki CC: balbir@linux.vnet.ibm.com, Andrew Morton , Jan Blunck , containers@lists.osdl.org, Linux-Kernel Mailinglist Subject: Re: [PATCH] memcg: reduce size of per-cpu-stat to be appropriate size. References: <20081113164201.GV29067@bolzano.suse.de> <20081113191837.18ed2ade.akpm@linux-foundation.org> <491CF609.3050203@cn.fujitsu.com> <20081114132840.98d38f12.kamezawa.hiroyu@jp.fujitsu.com> <20081114144926.d91f36fd.kamezawa.hiroyu@jp.fujitsu.com> <491D2C21.5000600@linux.vnet.ibm.com> <20081114164812.a0d70ef5.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20081114164812.a0d70ef5.kamezawa.hiroyu@jp.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 463 Lines: 14 >>> +static int mem_cgroup_size(void) >> inline this function? >> > necessary ? > Not so necessary IMO. It's called when a cgroup is created and removed, that is mkdir and rmdir, where performance is not critical. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/