]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Convert asm/tlb.h to generic mmu_gather
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 11 Feb 2014 15:22:01 +0000 (15:22 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 26 Feb 2014 11:16:27 +0000 (11:16 +0000)
commitaea67bcd9cd5f661701ea40427eadcb93c82b740
tree888a7065f942bfdb3615d62aa4cde7976fdb4284
parent4a3d5a8f511cf1603633496ef6b1c5b3bd28c0c8
arm64: Convert asm/tlb.h to generic mmu_gather

Over the past couple of years, the generic mmu_gather gained range
tracking - 4bae738d72e0 (mm/mmu_gather: enable tlb flush range in generic
mmu_gather), feb6c3366885 (Fix TLB gather virtual address range
invalidation corner cases) - and tlb_fast_mode() has been removed -
9eedad543d6d (arch, mm: Remove tlb_fast_mode()).

The new mmu_gather structure is now suitable for arm64 and this patch
converts the arch asm/tlb.h to the generic code. One functional
difference is the shift_arg_pages() case where previously the code was
flushing the full mm (no tlb_start_vma call) but now it flushes the
range given to tlb_gather_mmu() (possibly slightly more efficient
previously).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
arch/arm64/include/asm/tlb.h