aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorYury Norov <yury.norov@gmail.com>2022-01-23 10:38:57 -0800
committerYury Norov <yury.norov@gmail.com>2022-06-03 06:52:57 -0700
commitdcf23cca930d1a60f7cd6b3a245a5081d77b8081 (patch)
tree2d526eb0167d2efebc7dd1a5760c09436a6ca738 /tools/perf/scripts/python/call-graph-from-sql.py
parentmm/vmstat: replace cpumask_weight with cpumask_empty where appropriate (diff)
downloadlinux-dev-dcf23cca930d1a60f7cd6b3a245a5081d77b8081.tar.xz
linux-dev-dcf23cca930d1a60f7cd6b3a245a5081d77b8081.zip
arch/x86: replace nodes_weight with nodes_empty where appropriate
mm code calls nodes_weight() to check if any bit of a given nodemask is set. We can do it more efficiently with nodes_empty() because nodes_empty() stops traversing the nodemask as soon as it finds first set bit, while nodes_weight() counts all bits unconditionally. Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions