diff options
author | Thomas Gleixner <[email protected]> | 2020-04-06 15:55:06 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-06-11 15:14:58 +0200 |
commit | f051f697955049c7cf10a635ab8149aa619243b2 (patch) | |
tree | f4d5678ab79116e38137bd3401d2847b20d2a321 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 6271fef00b3489690e52ce95edbc378357513547 (diff) |
x86/nmi: Protect NMI entry against instrumentation
Mark all functions in the fragile code parts noinstr or force inlining so
they can't be instrumented.
Also make the hardware latency tracer invocation explicit outside of
non-instrumentable section.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Alexandre Chartre <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions