When IPI-flushing a lazy mm, we switch away from the lazy mm. Use unlazy_mm_irqs_off() so the scheduler knows we did this. Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxx> --- arch/x86/mm/tlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/mm/tlb.c b/arch/x86/mm/tlb.c index e502565176b9..225b407812c7 100644 --- a/arch/x86/mm/tlb.c +++ b/arch/x86/mm/tlb.c @@ -843,7 +843,7 @@ static void flush_tlb_func(void *info) * This should be rare, with native_flush_tlb_multi() skipping * IPIs to lazy TLB mode CPUs. */ - switch_mm_irqs_off(NULL, &init_mm, NULL); + unlazy_mm_irqs_off(); return; } -- 2.33.1