Re: [PATCH v2 09/33] x86/intel_rdt: Add L3 cache capacity bitmask management
From: Thomas Gleixner
Date: Thu Sep 08 2016 - 05:44:18 EST
On Thu, 8 Sep 2016, Fenghua Yu wrote:
>
> + for_each_online_cpu(i)
> + rdt_cpumask_update(i);
The only reason why this does not blow up in your face is that at this
point the secondary cpus have been brought up already and user space is not
yet running, so cpu hotplug cannot happen in parallel. Protection by chance
is never a good idea.
Thanks,
tglx