Re: [PATCH] memcg: refactor mem_cgroup_resize_limit()
From: Vladimir Davydov
Date: Sat Jun 03 2017 - 11:15:24 EST
On Thu, Jun 01, 2017 at 04:02:12PM -0700, Yu Zhao wrote:
> mem_cgroup_resize_limit() and mem_cgroup_resize_memsw_limit() have
> identical logics. Refactor code so we don't need to keep two pieces
> of code that does same thing.
>
> Signed-off-by: Yu Zhao <yuzhao@xxxxxxxxxx>
> ---
> mm/memcontrol.c | 71 +++++++++------------------------------------------------
> 1 file changed, 11 insertions(+), 60 deletions(-)
Makes sense to me.
Acked-by: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>