Re: [PATCH 0/3] smp: Avoid memory allocation in on_each_cpu_cond()

From: Peter Zijlstra
Date: Fri Jan 17 2020 - 10:01:01 EST


On Fri, Jan 17, 2020 at 10:01:34AM +0100, Sebastian Andrzej Siewior wrote:
> x86 is using on_each_cpu_cond_mask() in native_flush_tlb_others() in a
> preempt disabled section. The memory allocation in
> on_each_cpu_cond_mask() gives me a headache on RT.
> This is an attempt to get rid of the memory allocation and potentially
> accelerating the code path :)

Looks good to me,

Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>