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, lkml, virtualization, xen-devel
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-02-18 09:39:59
Also in:
kvm, lkml, virtualization, xen-devel
Given that the last patch killed the last previously existing user of on_each_cpu_cond_mask there are now the only users.
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.