x86/mm: Page size aware flush_tlb_mm_range()
authorPeter Zijlstra <peterz@infradead.org>
Sun, 26 Aug 2018 10:56:48 +0000 (12:56 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 9 Oct 2018 14:51:11 +0000 (16:51 +0200)
commita31acd3ee8f7dbc0370bdf4a4bfef7a8c13c7542
treefe6035ec072385441ded002ba945960ba1ddc034
parenta5b966ae42a70b194b03eaa5eaea70d8b3790c40
x86/mm: Page size aware flush_tlb_mm_range()

Use the new tlb_get_unmap_shift() to determine the stride of the
INVLPG loop.

Cc: Nick Piggin <npiggin@gmail.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
arch/x86/include/asm/tlb.h
arch/x86/include/asm/tlbflush.h
arch/x86/kernel/ldt.c
arch/x86/kernel/vm86_32.c
arch/x86/mm/tlb.c
mm/pgtable-generic.c