WSL2-Linux-Kernel/kernel/rcu
Peter Zijlstra d846b69dc7 rcu: Fix rcu_dynticks_curr_cpu_in_eqs() vs noinstr
[ Upstream commit 74aece72f9 ]

  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: 2be57f7328 ("rcu: Weaken ->dynticks accesses and updates")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-18 19:16:30 +01:00
..
Kconfig
Kconfig.debug
Makefile
rcu.h
rcu_segcblist.c
rcu_segcblist.h
rcuscale.c
rcutorture.c
refscale.c
srcutiny.c
srcutree.c
sync.c
tasks.h
tiny.c
tree.c rcu: Fix rcu_dynticks_curr_cpu_in_eqs() vs noinstr 2021-11-18 19:16:30 +01:00
tree.h
tree_exp.h rcu: Fix existing exp request check in sync_sched_exp_online_cleanup() 2021-11-18 19:16:23 +01:00
tree_nocb.h
tree_plugin.h rcu: Always inline rcu_dynticks_task*_{enter,exit}() 2021-11-18 19:16:30 +01:00
tree_stall.h
update.c