With the sticky mm_cpumask, and conversion to mmgrab_lazy_tlb(), alpha meets the requirements for MMU_LAZY_TLB_SHOOTDOWN. Select it. Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx> --- arch/alpha/Kconfig | 1 + arch/alpha/kernel/smp.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index a5c2b1aa46b0..8f9995d66345 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig @@ -35,6 +35,7 @@ config ALPHA select OLD_SIGSUSPEND select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67 select MMU_GATHER_NO_RANGE + select MMU_LAZY_TLB_SHOOTDOWN select SPARSEMEM_EXTREME if SPARSEMEM select ZONE_DMA help diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c index d668b9d319af..73bbb81f336e 100644 --- a/arch/alpha/kernel/smp.c +++ b/arch/alpha/kernel/smp.c @@ -143,7 +143,7 @@ smp_callin(void) alpha_mv.smp_callin(); /* All kernel threads share the same mm context. */ - mmgrab(&init_mm); + mmgrab_lazy_tlb(&init_mm); current->active_mm = &init_mm; cpumask_set_cpu(smp_processor_id(), mm_cpumask(&init_mm)); -- 2.40.1