]> 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)
commit8ba78ca61d8be6f31d3734b77309b8bfd545efad
tree0d8dcaa7389301988030a03e6f596766b61781a5
parent4610f0359c1fde7141d1e989c8d0e47de31d1013
powerpc/mm/book3s64/radix: Use freed_tables instead of need_flush_all

With commit 3bf2f5cf7e2e ("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