aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorIlya Leoshkevich <[email protected]>2024-03-20 23:47:49 +0100
committerVasily Gorbik <[email protected]>2024-04-03 15:00:20 +0200
commitc9c260681f521e4ad9f9f4cc71fe35b978e06222 (patch)
treea9a4ff0b4395d595204870a6856586b1daa2c7b3 /scripts/gdb/linux/lists.py
parent01cac82ae02b43983173ea8e475a1c999edd25a6 (diff)
s390/preempt: mark all functions __always_inline
preempt_count-related functions are quite ubiquitous and may be called by noinstr ones, introducing unwanted instrumentation. Here is one example call chain: irqentry_nmi_enter() # noinstr lockdep_hardirqs_enabled() this_cpu_read() __pcpu_size_call_return() this_cpu_read_*() this_cpu_generic_read() __this_cpu_generic_read_nopreempt() preempt_disable_notrace() __preempt_count_inc() __preempt_count_add() They are very small, so there are no significant downsides to force-inlining them. Signed-off-by: Ilya Leoshkevich <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions