Re: [PATCH] mm: memcg: expose mem_cgroup_put API

From: Andrew Morton
Date: Thu Mar 08 2018 - 18:45:11 EST


On Wed, 7 Mar 2018 18:48:50 -0800 Shakeel Butt <shakeelb@xxxxxxxxxx> wrote:

> This patch exports mem_cgroup_put API to put the refcnt of the memory
> cgroup.

OK, I remember now. This is intended to make
fs-fsnotify-account-fsnotify-metadata-to-kmemcg.patch independent of
mm-oom-cgroup-aware-oom-killer.patch by extracting mem_cgroup_put()
from mm-oom-cgroup-aware-oom-killer.patch.

However it will not permit me to stage
fs-fsnotify-account-fsnotify-metadata-to-kmemcg.patch ahead of
mm-oom-cgroup-aware-oom-killer.patch because there are quite a lot of
syntactic clashes.

I can resolve those if needed, but am keenly hoping that the
mm-oom-cgroup-aware-oom-killer.patch issues are resolved soon so there
isn't a need to do this.