Re: [PATCH v2 3/4] powerpc/mm/radix: Avoid flushing the PWC on every flush_tlb_range

2017-07-19 Thread Aneesh Kumar K.V
Benjamin Herrenschmidt writes: > We do that because it's used by THP pmd collapsing, so use > instead a dedicated flush function. Reviewed-by: Aneesh Kumar K.V > > Signed-off-by: Benjamin Herrenschmidt > --- > > v2. Add missing #ifdef CONFIG_TRANSPARENT_HUGEPAGE > --- > .../powerpc/include/as

[PATCH v2 3/4] powerpc/mm/radix: Avoid flushing the PWC on every flush_tlb_range

2017-07-18 Thread Benjamin Herrenschmidt
We do that because it's used by THP pmd collapsing, so use instead a dedicated flush function. Signed-off-by: Benjamin Herrenschmidt --- v2. Add missing #ifdef CONFIG_TRANSPARENT_HUGEPAGE --- .../powerpc/include/asm/book3s/64/tlbflush-radix.h | 1 + arch/powerpc/mm/pgtable-radix.c