diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-03-13 17:32:17 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-05-19 15:51:20 +0200 |
commit | ff5c4f5cad33061b07c3fb9187506783c0f3cb66 (patch) | |
tree | a391cabc83847be6d88107ea9a1f95557988013e /kernel/ucount.c | |
parent | x86: Replace ist_enter() with nmi_enter() (diff) | |
download | linux-ff5c4f5cad33061b07c3fb9187506783c0f3cb66.tar.xz linux-ff5c4f5cad33061b07c3fb9187506783c0f3cb66.zip |
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
Diffstat (limited to 'kernel/ucount.c')
0 files changed, 0 insertions, 0 deletions