[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1902102143290.8784@nanos.tec.linutronix.de>
Date: Sun, 10 Feb 2019 21:44:06 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Robin Murphy <robin.murphy@....com>
cc: will.deacon@....com, mark.rutland@....com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
suzuki.poulose@....com, peterz@...radead.org, bigeasy@...utronix.de
Subject: Re: [PATCH 3/5] perf/arm-ccn: Fix CPU hotplug race avoidance
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
Powered by blists - more mailing lists