diff options
| author | Srikar Dronamraju <[email protected]> | 2020-08-10 12:48:30 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-09-16 22:13:31 +1000 |
| commit | caa8e29da59926bef099b46ab6280333d583e944 (patch) | |
| tree | e98dec4cceb4be5accf376178f731feeadbff113 /tools/perf/scripts/python/syscall-counts.py | |
| parent | f6606cfdfbcda00ce8a6e63c8fc13c93e73ac059 (diff) | |
powerpc/smp: Optimize start_secondary
In start_secondary, even if shared_cache was already set, system does a
redundant match for cpumask. This redundant check can be removed by
checking if shared_cache is already set.
While here, localize the sibling_mask variable to within the if
condition.
Signed-off-by: Srikar Dronamraju <[email protected]>
Reviewed-by: Gautham R. Shenoy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions