Re: [PATCH v5 4/8] x86/mm/tlb: Flush remote and local TLBs concurrently

From
Christoph Hellwig <hch@infradead.org>
Date
2021-02-18 09:39:59
Also in
kvm, linux-hyperv, lkml, xen-devel
Reply to
Nadav Amit, 2021-02-10
Given that the last patch killed the last previously existing
user of on_each_cpu_cond_mask there are now the only users.
quoted hunk ↗ jump to hunk
 	if (info->freed_tables) {
-		smp_call_function_many(cpumask, flush_tlb_func,
-			       (void *)info, 1);
+		on_each_cpu_cond_mask(NULL, flush_tlb_func, (void *)info, true,
+				      cpumask);
.. 
+		on_each_cpu_cond_mask(NULL, flush_tlb_func, (void *)info, true,
+				      cpumask);
Which means the cond_func is unused, and thus on_each_cpu_cond_mask can
go away entirely in favor of on_each_cpu_cond.
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Thread (5 messages) 5 messages, 4 authors, last reply 2021-02-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help