Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powerpc/64s/radix: tlb do not flush on page size when fullmm

When the mm is being torn down there will be a full PID flush so
there is no need to flush the TLB on page size changes.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Nicholas Piggin and committed by
Michael Ellerman
5a609934 d97e7f19

+3
+3
arch/powerpc/include/asm/tlb.h
··· 49 49 static inline void tlb_remove_check_page_size_change(struct mmu_gather *tlb, 50 50 unsigned int page_size) 51 51 { 52 + if (tlb->fullmm) 53 + return; 54 + 52 55 if (!tlb->page_size) 53 56 tlb->page_size = page_size; 54 57 else if (tlb->page_size != page_size) {