diff options
author | Evgenii Stepanov <eugenis@google.com> | 2021-05-21 03:00:23 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-05-25 20:21:58 +0200 |
commit | 3d0cca0b02ac98eac9157b26cf3951997db68b37 (patch) | |
tree | 63faa9f036f3d926c0dc915cae59ecda399852dc /arch/ia64/include | |
parent | Linux 5.13-rc3 (diff) | |
download | linux-3d0cca0b02ac98eac9157b26cf3951997db68b37.tar.xz linux-3d0cca0b02ac98eac9157b26cf3951997db68b37.zip |
kasan: speed up mte_set_mem_tag_range
Use DC GVA / DC GZVA to speed up KASan memory tagging in HW tags mode.
The first cacheline is always tagged using STG/STZG even if the address is
cacheline-aligned, as benchmarks show it is faster than a conditional
branch.
Signed-off-by: Evgenii Stepanov <eugenis@google.com>
Co-developed-by: Peter Collingbourne <pcc@google.com>
Signed-off-by: Peter Collingbourne <pcc@google.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210521010023.3244784-1-eugenis@google.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/ia64/include')
0 files changed, 0 insertions, 0 deletions