Re: [PATCH V5 12/14] trace: Protect tr->tracing_cpumask with get/put_online_cpus

From: Peter Zijlstra
Date: Fri Jun 25 2021 - 05:28:06 EST


On Tue, Jun 22, 2021 at 04:42:30PM +0200, Daniel Bristot de Oliveira wrote:
> + get_online_cpus();
> cpumask_copy(tr->tracing_cpumask, tracing_cpumask_new);
> + put_online_cpus();

I'm aware this patch will go the way of the Dodo; but for future
reference, these should be spelled: cpus_read_{,un}lock(). The old names
are still around, but I suppose we should do a cleanup of that some day.