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 454bbad commit 3f79e4cCopy full SHA for 3f79e4c
arch/x86/mm/tlb.c
@@ -382,12 +382,8 @@ void arch_tlbbatch_flush(struct arch_tlbflush_unmap_batch *batch)
382
383
int cpu = get_cpu();
384
385
- if (cpumask_test_cpu(cpu, &batch->cpumask)) {
386
- count_vm_tlb_event(NR_TLB_LOCAL_FLUSH_ALL);
387
- local_flush_tlb();
388
- trace_tlb_flush(TLB_LOCAL_SHOOTDOWN, TLB_FLUSH_ALL);
389
- }
390
-
+ if (cpumask_test_cpu(cpu, &batch->cpumask))
+ flush_tlb_func_local(&info, TLB_LOCAL_SHOOTDOWN);
391
if (cpumask_any_but(&batch->cpumask, cpu) < nr_cpu_ids)
392
flush_tlb_others(&batch->cpumask, &info);
393
cpumask_clear(&batch->cpumask);
0 commit comments