From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: Re: [RFC][PATCH 1/3] memcg: add methods to access pc->mem_cgroup Date: Mon, 19 Mar 2012 19:34:16 +0400 Message-ID: <4F6751F8.8070906@parallels.com> References: <4F66E6A5.10804@jp.fujitsu.com> <4F66E773.4000807@jp.fujitsu.com> <4F671138.3000508@parallels.com> <20120319153334.GC31213@tiehlicka.suse.cz> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120319153334.GC31213@tiehlicka.suse.cz> Sender: owner-linux-mm@kvack.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Michal Hocko Cc: KAMEZAWA Hiroyuki , linux-mm@kvack.org, cgroups@vger.kernel.org, Johannes Weiner , Hugh Dickins , Han Ying , "Aneesh Kumar K.V" , Andrew Morton , suleiman@google.com, n-horiguchi@ah.jp.nec.com, khlebnikov@openvz.org, Tejun Heo On 03/19/2012 07:33 PM, Michal Hocko wrote: > On Mon 19-03-12 14:58:00, Glauber Costa wrote: >> On 03/19/2012 11:59 AM, KAMEZAWA Hiroyuki wrote: >>> In order to encode pc->mem_cgroup and pc->flags to be in a word, >>> access function to pc->mem_cgroup is required. >>> >>> This patch replaces access to pc->mem_cgroup with >>> pc_to_mem_cgroup(pc) : pc->mem_cgroup >>> pc_set_mem_cgroup(pc, memcg) : pc->mem_cgroup = memcg >>> >>> Following patch will remove pc->mem_cgroup. >>> >>> Signed-off-by: KAMEZAWA Hiroyuki >> Kame, >> >> I can't see a reason not to merge this patch right now, regardless of >> the other ones. > > I am not so sure about that. The patch doesn't do much on its own and > reference to the "following patch" might be confusing. Does it actually > help to rush it now? The Changelog can be worked, that's for sure. But thought as a style change, it does do good IMHO. Of course this is an argument to get it in as much as it is an argument not to... -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org