Re: [PATCH 3/8] srcu: Use local_lock() for per-CPU struct srcu_data access

Uladzislau Rezki
2020-05-20T18:50:13Z

>
> I actually found it in RT 4.4 kernel, I thought this was also on newer RT
> kernels as well (is that not true anymore?). But yes it was exactly what
> Peter said.
>
I see it also in 5.6.4 linut-rt-devel:

<snip>
#ifdef CONFIG_PREEMPT_RT
...
# define get_local_ptr(var) ({ \
migrate_disable(); \
this_cpu_ptr(var); })
...
<snip>

--
Vlad Rezki