aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorPeter Collingbourne <[email protected]>2021-07-09 02:35:32 +0000
committerCatalin Marinas <[email protected]>2021-07-27 17:12:18 +0000
commit42b6b10a54f0bf00397511fc6d5b8a296b405563 (patch)
treea191e4a0b12d002bf08c2a061dcfa9b4cb55a4a0 /tools/perf/scripts/python/flamegraph.py
parentLinux 5.14-rc3 (diff)
downloadkernel-42b6b10a54f0bf00397511fc6d5b8a296b405563.tar.gz
kernel-42b6b10a54f0bf00397511fc6d5b8a296b405563.zip
arm64: mte: avoid TFSRE0_EL1 related operations unless in async mode
There is no reason to touch TFSRE0_EL1 nor issue a DSB unless our task is in asynchronous mode. Since these operations (especially the DSB) may be expensive on certain microarchitectures, only perform them if necessary. Furthermore, stop clearing TFSRE0_EL1 on entry because it will be cleared on exit and it is not necessary to have any particular value in TFSRE0_EL1 between entry and exit. Signed-off-by: Peter Collingbourne <[email protected]> Link: https://linux-review.googlesource.com/id/Ib353a63e3d0abc2b0b008e96aa2d9692cfc1b815 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions