diff options
author | 2016-02-04 22:09:25 +0100 | |
---|---|---|
committer | 2016-02-13 06:02:18 -0500 | |
commit | 6b125d63b7f6c30d36dad3d999bbb5d44f359ebd (patch) | |
tree | 4bcfa9efd1a7bbceca908126d16f33a81b71fe4f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: mvneta: Fix the CPU choice in mvneta_percpu_elect (diff) | |
download | linux-dev-6b125d63b7f6c30d36dad3d999bbb5d44f359ebd.tar.xz linux-dev-6b125d63b7f6c30d36dad3d999bbb5d44f359ebd.zip |
net: mvneta: Use on_each_cpu when possible
Instead of using a for_each_* loop in which we just call the
smp_call_function_single macro, it is more simple to directly use the
on_each_cpu macro. Moreover, this macro ensures that the calls will be
done all at once.
Suggested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions