aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYang Shi <[email protected]>2020-04-01 21:10:02 -0700
committerLinus Torvalds <[email protected]>2020-04-02 09:35:31 -0700
commitd8a1c03ff797050b4310bd34b5ef5c0d5c7491e6 (patch)
tree4ac8ad5edffb4788e798dcfc5e5afed3b9544a0d /tools/perf/scripts/python
parent565dc842313fde3d0a2e817f96b42bd6a1eb0cad (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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Acked-by: Michal Hocko <[email protected]> Acked-by: David Rientjes <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions