Re: [PATCH 02/10] smp: use __cpumask_set_cpu in on_each_cpu_cond
From: Andy Lutomirski
Date: Sat Jul 28 2018 - 22:59:42 EST
On Sat, Jul 28, 2018 at 2:53 PM, Rik van Riel <riel@xxxxxxxxxxx> wrote:
> The code in on_each_cpu_cond sets CPUs in a locally allocated bitmask,
> which should never be used by other CPUs simultaneously. There is no
> need to use locked memory accesses to set the bits in this bitmap.
>
> Switch to __cpumask_set_cpu.
Reviewed-by: Andy Lutomirski <luto@xxxxxxxxxx>