diff options
author | Yang Shi | 2020-04-01 21:10:02 -0700 |
---|---|---|
committer | Linus Torvalds | 2020-04-02 09:35:31 -0700 |
commit | d8a1c03ff797050b4310bd34b5ef5c0d5c7491e6 (patch) | |
tree | 4ac8ad5edffb4788e798dcfc5e5afed3b9544a0d /Kbuild | |
parent | 565dc842313fde3d0a2e817f96b42bd6a1eb0cad (diff) |
mm: vmpressure: use mem_cgroup_is_root API
Use mem_cgroup_is_root() API to check if memcg is root memcg instead of
open coding.
Signed-off-by: Yang Shi <yang.shi@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: David Rientjes <rientjes@google.com>
Link: http://lkml.kernel.org/r/1581398649-125989-2-git-send-email-yang.shi@linux.alibaba.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions