diff options
| author | Peter Collingbourne <[email protected]> | 2021-07-14 01:36:38 +0000 |
|---|---|---|
| committer | Catalin Marinas <[email protected]> | 2021-07-28 17:40:12 +0000 |
| commit | afdfd93a53aea68837b34da81d442358ff7552f3 (patch) | |
| tree | fca4824cab040a175fa4513836edc6c07c9c6776 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | Documentation: document the preferred tag checking mode feature (diff) | |
| download | kernel-afdfd93a53aea68837b34da81d442358ff7552f3.tar.gz kernel-afdfd93a53aea68837b34da81d442358ff7552f3.zip | |
arm64: mte: optimize GCR_EL1 modification on kernel entry/exit
Accessing GCR_EL1 and issuing an ISB can be expensive on some
microarchitectures. Although we must write to GCR_EL1, we can
restructure the code to avoid reading from it because the new value
can be derived entirely from the exclusion mask, which is already in
a GPR. Do so.
Signed-off-by: Peter Collingbourne <[email protected]>
Link: https://linux-review.googlesource.com/id/I560a190a74176ca4cc5191dad08f77f6b1577c75
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
