aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPeter Collingbourne <[email protected]>2021-09-23 18:06:55 -0700
committerWill Deacon <[email protected]>2021-09-29 17:18:57 +0100
commite5af50a5df571c1d0268b02f924de49b742c990f (patch)
tree51b2efdd63de08bf3e1baec22fca292ba5013dfd /tools/perf/scripts/python/export-to-sqlite.py
parent5816b3e6577eaa676ceb00a848f0fd65fe2adc29 (diff)
arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled
It is not necessary to write to GCR_EL1 on every kernel entry and exit when HW tag-based KASAN is disabled because the kernel will not execute any IRG instructions in that mode. Since accessing GCR_EL1 can be expensive on some microarchitectures, avoid doing so by moving the access to task switch when HW tag-based KASAN is disabled. Signed-off-by: Peter Collingbourne <[email protected]> Acked-by: Andrey Konovalov <[email protected]> Link: https://linux-review.googlesource.com/id/I78e90d60612a94c24344526f476ac4ff216e10d2 Reviewed-by: Catalin Marinas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions