linux/arch/powerpc/mm
Yang Shi 31bdba07f6 powerpc/64s/radix: don't need to broadcast IPI for radix pmd collapse flush
commit bedf034169 upstream.

The IPI broadcast is used to serialize against fast-GUP, but fast-GUP will
move to use RCU instead of disabling local interrupts in fast-GUP.  Using
an IPI is the old-styled way of serializing against fast-GUP although it
still works as expected now.

And fast-GUP now fixed the potential race with THP collapse by checking
whether PMD is changed or not.  So IPI broadcast in radix pmd collapse
flush is not necessary anymore.  But it is still needed for hash TLB.

Link: https://lkml.kernel.org/r/20220907180144.555485-2-shy828301@gmail.com
Suggested-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Yang Shi <shy828301@gmail.com>
Acked-by: David Hildenbrand <david@redhat.com>
Acked-by: Peter Xu <peterx@redhat.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-12 09:53:26 +02:00
..
book3s32 powerpc/32: Set an IBAT covering up to _einittext during init 2022-08-25 11:40:43 +02:00
book3s64 powerpc/64s/radix: don't need to broadcast IPI for radix pmd collapse flush 2022-10-12 09:53:26 +02:00
kasan powerpc/kasan: Fix early region not updated correctly 2022-04-08 14:24:03 +02:00
nohash powerpc/32: Call mmu_mark_initmem_nx() regardless of data block mapping. 2022-08-17 14:24:12 +02:00
ptdump powerpc/ptdump: Fix display of RW pages on FSL_BOOK3E 2022-08-17 14:22:58 +02:00
Makefile
cacheflush.c
copro_fault.c
dma-noncoherent.c
drmem.c
fault.c powerpc/64s: Don't use DSISR for SLB faults 2022-04-08 14:23:38 +02:00
hugetlbpage.c
init-common.c
init_32.c
init_64.c
ioremap.c mm/vmalloc: remove unmap_kernel_range 2021-04-30 11:20:40 -07:00
ioremap_32.c powerpc/mm: Leave a gap between early allocated IO areas 2021-06-25 00:07:10 +10:00
ioremap_64.c powerpc/mm: Leave a gap between early allocated IO areas 2021-06-25 00:07:10 +10:00
maccess.c
mem.c powerpc/memhotplug: Add add_pages override for PPC 2022-07-07 17:53:28 +02:00
mmap.c
mmu_context.c powerpc/mm: Switch obsolete dssall to .long 2022-06-14 18:36:27 +02:00
mmu_decl.h
numa.c
pageattr.c powerpc/set_memory: Avoid spinlock recursion in change_page_attr() 2022-04-13 20:59:05 +02:00
pgtable-frag.c
pgtable.c
pgtable_32.c powerpc/32: Call mmu_mark_initmem_nx() regardless of data block mapping. 2022-08-17 14:24:12 +02:00
pgtable_64.c
slice.c