]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/book3s64/radix: Use freed_tables instead of need_flush_all
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Thu, 24 Oct 2019 07:58:00 +0000 (13:28 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 5 Nov 2019 11:23:55 +0000 (22:23 +1100)
commit380fc4bb8f4afa5c156b6e3aef55f090a0784b41
tree0d8dcaa7389301988030a03e6f596766b61781a5
parent8c765c3e25cc3b0b3f9cdeaac61eb34e361fb422
powerpc/mm/book3s64/radix: Use freed_tables instead of need_flush_all

With commit 39c3df0d375e ("asm-generic/tlb: Track freeing of
page-table directories in struct mmu_gather") we now track whether we
freed page table in mmu_gather. Use that to decide whether to flush
Page Walk Cache.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191024075801.22434-2-aneesh.kumar@linux.ibm.com
arch/powerpc/include/asm/book3s/64/pgalloc.h
arch/powerpc/include/asm/book3s/64/tlbflush.h
arch/powerpc/mm/book3s64/radix_tlb.c