aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorYang Shi <[email protected]>2019-03-05 15:48:02 -0800
committerLinus Torvalds <[email protected]>2019-03-05 21:07:19 -0800
commit59118c42a60b997d277ad04d2309a6ec30682e5e (patch)
tree0fb0ac1dfa73f1bcc6e75260b26cf6a54dc0c755 /tools/perf/util/c++/clang.cpp
parent544029862cbb1d7903e19f2e58f48d4884e1201b (diff)
mm: swap: use mem_cgroup_is_root() instead of deferencing css->parent
mem_cgroup_is_root() is the preferred API to check if memcg is root or not. Use it instead of deferencing css->parent. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Yang Shi <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Huang Ying <[email protected]> Cc: Tim Chen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions