Messages in this thread | | | Date | Sat, 3 Jun 2017 18:15:10 +0300 | From | Vladimir Davydov <> | Subject | Re: [PATCH] memcg: refactor mem_cgroup_resize_limit() |
| |
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@google.com> > --- > mm/memcontrol.c | 71 +++++++++------------------------------------------------ > 1 file changed, 11 insertions(+), 60 deletions(-)
Makes sense to me.
Acked-by: Vladimir Davydov <vdavydov.dev@gmail.com>
| |