[PATCH v4 3/6] asm-generic/tlb, arch: Invert CONFIG_HAVE_RCU_TABLE_INVALIDATE
Greg KH
gregkh at linuxfoundation.org
Tue May 26 21:00:22 AEST 2020
On Wed, May 20, 2020 at 02:00:22PM +0530, Santosh Sivaraj wrote:
> From: Peter Zijlstra <peterz at infradead.org>
>
> commit 96bc9567cbe112e9320250f01b9c060c882e8619 upstream
>
> Make issuing a TLB invalidate for page-table pages the normal case.
>
> The reason is twofold:
>
> - too many invalidates is safer than too few,
> - most architectures use the linux page-tables natively
> and would thus require this.
>
> Make it an opt-out, instead of an opt-in.
>
> No change in behavior intended.
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz at infradead.org>
> Cc: <stable at vger.kernel.org> # 4.19
> Signed-off-by: Santosh Sivaraj <santosh at fossix.org>
> [santosh: prerequisite for upcoming tlbflush backports]
> ---
> arch/Kconfig | 2 +-
> arch/powerpc/Kconfig | 1 +
> arch/sparc/Kconfig | 1 +
> arch/x86/Kconfig | 1 -
> mm/memory.c | 2 +-
> 5 files changed, 4 insertions(+), 3 deletions(-)
Why did you not also change arch/arm64/Kconfig and
include/asm-generic/tlb.h like the original patch changed?
Why can those files be ignored/left out? You need to explain that in
the backport section, all you said was "prerequisite..." and did not say
why you changed this patch.
Please fix up, and make sure you do the same for all of the other
patches in this series for when you resend it.
thanks,
greg k-h
More information about the Linuxppc-dev
mailing list