diff options
author | Steven Price <[email protected]> | 2024-10-17 14:14:31 +0100 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2024-10-23 10:19:33 +0100 |
commit | 0e9cb5995b2539a332fe65ada6a28a6be55f6e40 (patch) | |
tree | 7d7a504e493d63b28f99445dc5221bd2f5e0a26d /lib/crypto/mpi/mpiutil.c | |
parent | fbf979a01375704fa87c559763209c658593b6f8 (diff) |
arm64: mm: Avoid TLBI when marking pages as valid
When __change_memory_common() is purely setting the valid bit on a PTE
(e.g. via the set_memory_valid() call) there is no need for a TLBI as
either the entry isn't changing (the valid bit was already set) or the
entry was invalid and so should not have been cached in the TLB.
Reviewed-by: Catalin Marinas <[email protected]>
Reviewed-by: Gavin Shan <[email protected]>
Reviewed-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Steven Price <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions