aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/test_vmalloc.c
diff options
context:
space:
mode:
authorShakeel Butt <shakeelb@google.com>2021-04-29 22:56:05 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-04-30 11:20:37 -0700
commita47920306c72acaa6ab935c174476ec1d2c7284d (patch)
tree5f4d63fd1e04e51517989fb445615f6ac9e834d6 /lib/test_vmalloc.c
parentmm: memcontrol: fix kernel stack account (diff)
downloadwireguard-linux-a47920306c72acaa6ab935c174476ec1d2c7284d.tar.xz
wireguard-linux-a47920306c72acaa6ab935c174476ec1d2c7284d.zip
memcg: cleanup root memcg checks
Replace the implicit checking of root memcg with explicit root memcg checking i.e. !css->parent with mem_cgroup_is_root(). Link: https://lkml.kernel.org/r/20210223205625.2792891-1-shakeelb@google.com Signed-off-by: Shakeel Butt <shakeelb@google.com> Acked-by: Michal Hocko <mhocko@suse.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Roman Gushchin <guro@fb.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions