Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8eaf19ce authored by Will Deacon's avatar Will Deacon Committed by Amit Pundir
Browse files

UPSTREAM: arm64: mm: remove dsb from update_mmu_cache



update_mmu_cache() consists of a dsb(ishst) instruction so that new user
mappings are guaranteed to be visible to the page table walker on
exception return.

In reality this can be a very expensive operation which is rarely needed.
Removing this barrier shows a modest improvement in hackbench scores and
, in the worst case, we re-take the user fault and establish that there
was nothing to do.

Reviewed-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>

Bug: 31432001
Change-Id: Ifb71e6b0154dacdd6ec380b897e962ffd0eb5ad9
(cherry picked from commit 120798d2e7d1ac87365fe5ea91b074bb42ca1eff)
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 9c5a76e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment