aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorSudeep Holla <[email protected]>2018-07-06 12:02:45 +0100
committerWill Deacon <[email protected]>2018-07-06 13:18:18 +0100
commit5ec8b59172b4e8d26a12952ce3a2914b30128538 (patch)
tree3bda23aa9095d91c148d4ec3406281dd798a195e /tools/perf/scripts/python/bin/stackcollapse-record
parent5bdd2b3f0f8830f281bb568e65df6eabf655dd0d (diff)
arm64: topology: restrict updating siblings_masks to online cpus only
It's incorrect to iterate over all the possible CPUs to update the sibling masks when any CPU is hotplugged in. In case the topology siblings masks of the CPU is removed when is it hotplugged out, we end up updating those masks when one of it's sibling is powered up again. This will provide inconsistent view. Further, since the CPU calling update_sibling_masks is yet to be set online, there's no need to compare itself with each online CPU when updating the siblings masks. This patch restricts updation of sibling masks only for CPUs that are already online. It also the drops the unnecessary cpuid check. Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Tested-by: Ganapatrao Kulkarni <[email protected]> Tested-by: Hanjun Guo <[email protected]> Signed-off-by: Sudeep Holla <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions