]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7666ecfff1ae9f31ac6140a756de32cb01fab2c8
treefe6035ec072385441ded002ba945960ba1ddc034
parent1c702f4f56e260aea775d05328d224eddff9537a
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