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

From: Christoph Hellwig
Date: Thu Feb 18 2021 - 04:33:57 EST


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.