aboutsummaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorKamalesh Babulal <kamalesh.babulal@oracle.com>2022-09-30 19:14:33 +0530
committerAndrew Morton <akpm@linux-foundation.org>2022-11-08 17:37:13 -0800
commit7848ed6284ec4791eba22026e28edb2062790a3d (patch)
treea1e6abdd92107d59aaf93879ca30d5de72117ac4 /mm/shmem.c
parent97955f6941f0e7dea64dea22711382daf1db2f76 (diff)
downloadnet-7848ed6284ec4791eba22026e28edb2062790a3d.tar.gz
mm: memcontrol: use mem_cgroup_is_root() helper
Replace the checks for memcg is root memcg, with mem_cgroup_is_root() helper. Link: https://lkml.kernel.org/r/20220930134433.338103-1-kamalesh.babulal@oracle.com Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Kamalesh Babulal <kamalesh.babulal@oracle.com> Cc: Roman Gushchin <roman.gushchin@linux.dev> Cc: Shakeel Butt <shakeelb@google.com> Cc: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions