]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: tlbflush: avoid flushing when fullmm == 1
authorWill Deacon <will.deacon@arm.com>
Tue, 6 Oct 2015 17:46:26 +0000 (18:46 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 7 Oct 2015 10:56:21 +0000 (11:56 +0100)
commit1fcc2a609e73de2f36296db71bb26b882a426e1c
tree418e7e0fb2163f8fdc15026832cab1f65a7017ee
parent53a1db64a2ad2b914ff709792a2365b7e2a690d6
arm64: tlbflush: avoid flushing when fullmm == 1

The TLB gather code sets fullmm=1 when tearing down the entire address
space for an mm_struct on exit or execve. Given that the ASID allocator
will never re-allocate a dirty ASID, this flushing is not needed and can
simply be avoided in the flushing code.

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/tlb.h