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

From: Uladzislau Rezki
Date: Wed May 20 2020 - 14:50:15 EST


>
> 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