# 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 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/06/1425822
- Thread: https://ratatoskr.run/linux-doc/2021/06/1422594/t.md

```text
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.
```
