We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 209954c commit 2815a56Copy full SHA for 2815a56
arch/x86/mm/tlb.c
@@ -760,6 +760,7 @@ static void flush_tlb_func(void *info)
760
/* Can only happen on remote CPUs */
761
if (f->mm && f->mm != loaded_mm) {
762
cpumask_clear_cpu(raw_smp_processor_id(), mm_cpumask(f->mm));
763
+ trace_tlb_flush(TLB_REMOTE_WRONG_CPU, 0);
764
return;
765
}
766
include/linux/mm_types.h
@@ -1335,6 +1335,7 @@ enum tlb_flush_reason {
1335
TLB_LOCAL_SHOOTDOWN,
1336
TLB_LOCAL_MM_SHOOTDOWN,
1337
TLB_REMOTE_SEND_IPI,
1338
+ TLB_REMOTE_WRONG_CPU,
1339
NR_TLB_FLUSH_REASONS,
1340
};
1341
0 commit comments