]> git.baikalelectronics.ru Git - kernel.git/commit
rcu/tree: Mark the idle relevant functions noinstr
authorThomas Gleixner <tglx@linutronix.de>
Fri, 13 Mar 2020 16:32:17 +0000 (17:32 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 19 May 2020 13:51:20 +0000 (15:51 +0200)
commit8adc5379d0bdcd3b41809b07484b43f0c6a09142
treea391cabc83847be6d88107ea9a1f95557988013e
parent89f1de17b79eac1b4e0315eead6b83f64fe1cb54
rcu/tree: Mark the idle relevant functions noinstr

These functions are invoked from context tracking and other places in the
low level entry code. Move them into the .noinstr.text section to exclude
them from instrumentation.

Mark the places which are safe to invoke traceable functions with
instrumentation_begin/end() so objtool won't complain.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Link: https://lkml.kernel.org/r/20200505134100.575356107@linutronix.de
kernel/rcu/tree.c
kernel/rcu/tree_plugin.h
kernel/rcu/update.c