diff options
author | Johannes Weiner | 2014-12-11 00:42:39 +0100 |
---|---|---|
committer | Linus Torvalds | 2014-12-11 02:41:05 +0100 |
commit | 5ac8fb31ad2ebd6492d1c5e8f31846b532f03945 (patch) | |
tree | 909758da585c63aa3de2639a42dcd63f5ab1bf35 /include/linux/cgroup.h | |
parent | kernel: res_counter: remove the unused API (diff) | |
download | kernel-qcow2-linux-5ac8fb31ad2ebd6492d1c5e8f31846b532f03945.tar.gz kernel-qcow2-linux-5ac8fb31ad2ebd6492d1c5e8f31846b532f03945.tar.xz kernel-qcow2-linux-5ac8fb31ad2ebd6492d1c5e8f31846b532f03945.zip |
mm: memcontrol: convert reclaim iterator to simple css refcounting
The memcg reclaim iterators use a complicated weak reference scheme to
prevent pinning cgroups indefinitely in the absence of memory pressure.
However, during the ongoing cgroup core rework, css lifetime has been
decoupled such that a pinned css no longer interferes with removal of
the user-visible cgroup, and all this complexity is now unnecessary.
[mhocko@suse.cz: ensure that the cached reference is always released]
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Vladimir Davydov <vdavydov@parallels.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/cgroup.h')
0 files changed, 0 insertions, 0 deletions