From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx118.postini.com [74.125.245.118]) by kanga.kvack.org (Postfix) with SMTP id 0D8F66B00EC for ; Tue, 15 May 2012 11:12:23 -0400 (EDT) Received: by dakp5 with SMTP id p5so10983316dak.14 for ; Tue, 15 May 2012 08:12:23 -0700 (PDT) Date: Tue, 15 May 2012 08:12:10 -0700 From: Tejun Heo Subject: Re: [PATCH v3 1/6] memcg: fix error code in hugetlb_force_memcg_empty() Message-ID: <20120515151210.GB6119@google.com> References: <4FACDED0.3020400@jp.fujitsu.com> <4FACDFAE.5050808@jp.fujitsu.com> <20120514181556.GE2366@google.com> <20120514183219.GG2366@google.com> <4FB1AD0A.50901@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FB1AD0A.50901@jp.fujitsu.com> Sender: owner-linux-mm@kvack.org List-ID: To: KAMEZAWA Hiroyuki Cc: "linux-mm@kvack.org" , "cgroups@vger.kernel.org" , Michal Hocko , Johannes Weiner , Frederic Weisbecker , Han Ying , Glauber Costa , "Aneesh Kumar K.V" , Andrew Morton , Hiroyuki Kamezawa , Linux Kernel On Tue, May 15, 2012 at 10:10:34AM +0900, KAMEZAWA Hiroyuki wrote: > (2012/05/15 3:32), Tejun Heo wrote: > > > On Mon, May 14, 2012 at 11:15:56AM -0700, Tejun Heo wrote: > >> On Fri, May 11, 2012 at 06:45:18PM +0900, KAMEZAWA Hiroyuki wrote: > >>> - if (cgroup_task_count(cgroup) || !list_empty(&cgroup->children)) > >>> + if (cgroup_task_count(cgroup) > >>> + || !list_empty(&cgroup->children)) { > >>> + ret = -EBUSY; > >>> goto out; > >> > >> Why break the line? It doesn't go over 80 col. > > > > Ooh, it does. Sorry, my bad. But still, isn't it more usual to leave > > the operator in the preceding line and align the start of the second > > line with the first? ie. > > > > if (cgroup_task_count(cgroup) || > > !list_empty(&cgroup->children)) { > > > > > How about this ? > == > From: KAMEZAWA Hiroyuki > Date: Fri, 27 Apr 2012 13:19:19 +0900 > Subject: [PATCH] memcg: fix error code in hugetlb_force_memcg_empty() > > Changelog: > - clean up. > Reviewed-by: Aneesh Kumar K.V > Signed-off-by: KAMEZAWA Hiroyuki Heh, it was a nitpick anyway. Please feel free to add my reviewed-by for the whole series. Thank you! -- tejun -- 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