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

From
Peter Zijlstra <peterz@infradead.org>
Date
2021-06-25 09:28:06
Also in
lkml
Reply to
Daniel Bristot de Oliveira, 2021-06-22
On Tue, Jun 22, 2021 at 04:42:30PM +0200, Daniel Bristot de Oliveira wrote:
quoted hunk ↗ jump to hunk
+	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.
Thread (19 messages) 19 messages, 4 authors, last reply 2021-06-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help