Re: [PATCH 3/5] perf/arm-ccn: Fix CPU hotplug race avoidance
From: Thomas Gleixner
Date: Sun Feb 10 2019 - 15:44:12 EST
On Mon, 4 Feb 2019, Robin Murphy wrote:
> /* Pick one CPU which we will use to collect data from CCN... */
> - cpumask_set_cpu(get_cpu(), &ccn->dt.cpu);
> + cpus_read_lock();
> + ccn->dt.cpu = smp_processor_id();
Again raw_smp_processor_id()
Thanks,
tglx