Re: [PATCH 2/3] rcu: Fix rcu_dynticks_curr_cpu_in_eqs() vs noinstr

From: Thomas Gleixner
Date: Tue Sep 28 2021 - 18:36:00 EST

On Tue, Sep 28 2021 at 10:40, Peter Zijlstra wrote:

> vmlinux.o: warning: objtool: rcu_nmi_enter()+0x36: call to __kasan_check_read() leaves .noinstr.text section
> noinstr cannot have atomic_*() functions in because they're explicitly
> annotated, use arch_atomic_*().
> Fixes: 2be57f732889 ("rcu: Weaken ->dynticks accesses and updates")
> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>

Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>