diff options
author | Ionela Voinescu <[email protected]> | 2020-11-13 15:53:28 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2020-11-13 20:14:58 +0000 |
commit | 74490422522d125451cac400fce5d4e6bb9e1fea (patch) | |
tree | b1915773f92d428989e2923a05c8348fc99c233c /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 68c5debcc06d6d24f15dbf978780fc5efc147d5e (diff) |
arm64: abort counter_read_on_cpu() when irqs_disabled()
Given that smp_call_function_single() can deadlock when interrupts are
disabled, abort the SMP call if irqs_disabled(). This scenario is
currently not possible given the function's uses, but safeguard this for
potential future uses.
Signed-off-by: Ionela Voinescu <[email protected]>
Cc: Will Deacon <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[[email protected]: modified following Mark's comment]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions