From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759060AbeAIX00 (ORCPT + 1 other); Tue, 9 Jan 2018 18:26:26 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:58670 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759027AbeAIX0Y (ORCPT ); Tue, 9 Jan 2018 18:26:24 -0500 Date: Tue, 9 Jan 2018 15:26:22 -0800 From: Andrew Morton To: Andrey Ryabinin Cc: Shakeel Butt , Johannes Weiner , Vladimir Davydov , Cgroups , Linux MM , LKML , Michal Hocko Subject: Re: [PATCH v3 2/2] mm/memcg: Consolidate mem_cgroup_resize_[memsw]_limit() functions. Message-Id: <20180109152622.31ca558acb0cc25a1b14f38c@linux-foundation.org> In-Reply-To: <6ba40354-10d8-7955-7932-9dcd05ed5977@virtuozzo.com> References: <20171220135329.GS4831@dhcp22.suse.cz> <20180109165815.8329-1-aryabinin@virtuozzo.com> <20180109165815.8329-2-aryabinin@virtuozzo.com> <6ba40354-10d8-7955-7932-9dcd05ed5977@virtuozzo.com> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, 9 Jan 2018 20:26:33 +0300 Andrey Ryabinin wrote: > On 01/09/2018 08:10 PM, Shakeel Butt wrote: > > On Tue, Jan 9, 2018 at 8:58 AM, Andrey Ryabinin wrote: > >> mem_cgroup_resize_limit() and mem_cgroup_resize_memsw_limit() are almost > >> identical functions. Instead of having two of them, we could pass an > >> additional argument to mem_cgroup_resize_limit() and by using it, > >> consolidate all the code in a single function. > >> > >> Signed-off-by: Andrey Ryabinin > > > > I think this is already proposed and Acked. > > > > https://patchwork.kernel.org/patch/10150719/ > > > > Indeed. I'll rebase 1/2 patch on top, if it will be applied first. Yes please. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCH v3 2/2] mm/memcg: Consolidate mem_cgroup_resize_[memsw]_limit() functions. Date: Tue, 9 Jan 2018 15:26:22 -0800 Message-ID: <20180109152622.31ca558acb0cc25a1b14f38c@linux-foundation.org> References: <20171220135329.GS4831@dhcp22.suse.cz> <20180109165815.8329-1-aryabinin@virtuozzo.com> <20180109165815.8329-2-aryabinin@virtuozzo.com> <6ba40354-10d8-7955-7932-9dcd05ed5977@virtuozzo.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <6ba40354-10d8-7955-7932-9dcd05ed5977@virtuozzo.com> Sender: owner-linux-mm@kvack.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Andrey Ryabinin Cc: Shakeel Butt , Johannes Weiner , Vladimir Davydov , Cgroups , Linux MM , LKML , Michal Hocko On Tue, 9 Jan 2018 20:26:33 +0300 Andrey Ryabinin wrote: > On 01/09/2018 08:10 PM, Shakeel Butt wrote: > > On Tue, Jan 9, 2018 at 8:58 AM, Andrey Ryabinin wrote: > >> mem_cgroup_resize_limit() and mem_cgroup_resize_memsw_limit() are almost > >> identical functions. Instead of having two of them, we could pass an > >> additional argument to mem_cgroup_resize_limit() and by using it, > >> consolidate all the code in a single function. > >> > >> Signed-off-by: Andrey Ryabinin > > > > I think this is already proposed and Acked. > > > > https://patchwork.kernel.org/patch/10150719/ > > > > Indeed. I'll rebase 1/2 patch on top, if it will be applied first. Yes please. -- 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