summaryrefslogtreecommitdiffstats
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-09-28 10:40:21 +0200
committerPaul E. McKenney <paulmck@kernel.org>2021-10-07 09:59:41 -0700
commit7663ad9a5dbcc27f3090e6bfd192c7e59222709f (patch)
tree9a60c36262452dc051b42c964291ee2e44d6cd1c /lib/assoc_array.c
parent925da92ba5cb0c82d07cdd5049a07e40f54e9c44 (diff)
downloadlinux-7663ad9a5dbcc27f3090e6bfd192c7e59222709f.tar.gz
linux-7663ad9a5dbcc27f3090e6bfd192c7e59222709f.tar.bz2
linux-7663ad9a5dbcc27f3090e6bfd192c7e59222709f.zip
rcu: Always inline rcu_dynticks_task*_{enter,exit}()
RCU managed to grow a few noinstr violations: vmlinux.o: warning: objtool: rcu_dynticks_eqs_enter()+0x0: call to rcu_dynticks_task_trace_enter() leaves .noinstr.text section vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit()+0xe: call to rcu_dynticks_task_trace_exit() leaves .noinstr.text section Fix them by adding __always_inline to the relevant trivial functions. Also replace the noinstr with __always_inline for the existing rcu_dynticks_task_*() functions since noinstr would force noinline them, even when empty, which seems silly. Fixes: 7d0c9c50c5a1 ("rcu-tasks: Avoid IPIing userspace/idle tasks if kernel is so built") 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>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions