[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180109152622.31ca558acb0cc25a1b14f38c@linux-foundation.org>
Date: Tue, 9 Jan 2018 15:26:22 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Andrey Ryabinin <aryabinin@...tuozzo.com>
Cc: Shakeel Butt <shakeelb@...gle.com>,
Johannes Weiner <hannes@...xchg.org>,
Vladimir Davydov <vdavydov.dev@...il.com>,
Cgroups <cgroups@...r.kernel.org>, Linux MM <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>,
Michal Hocko <mhocko@...nel.org>
Subject: Re: [PATCH v3 2/2] mm/memcg: Consolidate
mem_cgroup_resize_[memsw]_limit() functions.
On Tue, 9 Jan 2018 20:26:33 +0300 Andrey Ryabinin <aryabinin@...tuozzo.com> wrote:
> On 01/09/2018 08:10 PM, Shakeel Butt wrote:
> > On Tue, Jan 9, 2018 at 8:58 AM, Andrey Ryabinin <aryabinin@...tuozzo.com> 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 <aryabinin@...tuozzo.com>
> >
> > 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.
Powered by blists - more mailing lists