aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched
diff options
context:
space:
mode:
authorRoman Gushchin <guro@fb.com>2018-08-17 15:46:36 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-17 16:20:29 -0700
commitdc0b58643aff8b378086f25cce6789ccba68cbcb (patch)
tree3fbf85c994eb3c030be3cbc7c1beef0910c12a71 /include/linux/sched
parentmm: provide a fallback for PAGE_KERNEL_EXEC for architectures (diff)
downloadlinux-dev-dc0b58643aff8b378086f25cce6789ccba68cbcb.tar.xz
linux-dev-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 'include/linux/sched')
0 files changed, 0 insertions, 0 deletions