Re: [PATCH v6 13/18] asm-generic/tlb: Introduce HAVE_MMU_GATHER_NO_GATHER

From: Will Deacon
Date: Tue Feb 19 2019 - 07:48:06 EST


On Tue, Feb 19, 2019 at 11:32:01AM +0100, Peter Zijlstra wrote:
> Add the Kconfig option HAVE_MMU_GATHER_NO_GATHER to the generic
> mmu_gather code. If the option is set the mmu_gather will not
> track individual pages for delayed page free anymore. A platform
> that enables the option needs to provide its own implementation
> of the __tlb_remove_page_size function to free pages.
>
> Cc: npiggin@xxxxxxxxx
> Cc: heiko.carstens@xxxxxxxxxx
> Cc: will.deacon@xxxxxxx
> Cc: aneesh.kumar@xxxxxxxxxxxxxxxxxx
> Cc: akpm@xxxxxxxxxxxxxxxxxxxx
> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Cc: linux@xxxxxxxxxxxxxxx
> Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> Link: http://lkml.kernel.org/r/20180918125151.31744-2-schwidefsky@xxxxxxxxxx
> ---
> arch/Kconfig | 3 +
> include/asm-generic/tlb.h | 9 +++
> mm/mmu_gather.c | 107 +++++++++++++++++++++++++---------------------
> 3 files changed, 70 insertions(+), 49 deletions(-)

Acked-by: Will Deacon <will.deacon@xxxxxxx>

Will