]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: mm: remove dsb from update_mmu_cache
authorWill Deacon <will.deacon@arm.com>
Tue, 6 Oct 2015 17:46:30 +0000 (18:46 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 7 Oct 2015 10:56:37 +0000 (11:56 +0100)
commit17279c28234cdb58255a870f95884e86edfa8b27
treea9bbb2808e0514e6e5507c3281e00c45766e874a
parent679ed60cd3ebbd7d04368dd014bab5691703467a
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: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/pgtable.h