aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMathias Krause <[email protected]>2017-09-08 20:57:10 +0200
committerHerbert Xu <[email protected]>2017-10-07 12:10:31 +0800
commitcf5868c8a22dc2854b96e9569064bb92365549ca (patch)
treefb170091add3a262bd984c4ee092656a9bbc0326 /tools/perf/scripts/python/netdev-times.py
parent1bd845bcb41d5b7f83745e0cb99273eb376f2ec5 (diff)
padata: ensure the reorder timer callback runs on the correct CPU
The reorder timer function runs on the CPU where the timer interrupt was handled which is not necessarily one of the CPUs of the 'pcpu' CPU mask set. Ensure the padata_reorder() callback runs on the correct CPU, which is one in the 'pcpu' CPU mask set and, preferrably, the next expected one. Do so by comparing the current CPU with the expected target CPU. If they match, call padata_reorder() right away. If they differ, schedule a work item on the target CPU that does the padata_reorder() call for us. Signed-off-by: Mathias Krause <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions