summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorRoman Gushchin2018-08-18 00:46:36 +0200
committerLinus Torvalds2018-08-18 01:20:29 +0200
commitdc0b58643aff8b378086f25cce6789ccba68cbcb (patch)
tree3fbf85c994eb3c030be3cbc7c1beef0910c12a71 /mm/memcontrol.c
parentmm: provide a fallback for PAGE_KERNEL_EXEC for architectures (diff)
downloadkernel-qcow2-linux-dc0b58643aff8b378086f25cce6789ccba68cbcb.tar.gz
kernel-qcow2-linux-dc0b58643aff8b378086f25cce6789ccba68cbcb.tar.xz
kernel-qcow2-linux-dc0b58643aff8b378086f25cce6789ccba68cbcb.zip
mm: introduce mem_cgroup_put() helper
Introduce the mem_cgroup_put() helper, which helps to eliminate guarding memcg css release with "#ifdef CONFIG_MEMCG" in multiple places. Link: http://lkml.kernel.org/r/20180623000600.5818-2-guro@fb.com Signed-off-by: Roman Gushchin <guro@fb.com> Reviewed-by: Shakeel Butt <shakeelb@google.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Michal Hocko <mhocko@kernel.org> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions