Files
linux/arch/s390/include/asm
Ilya Leoshkevich c9c260681f 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 <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20240320230007.4782-3-iii@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2024-04-03 15:00:20 +02:00
..
2020-08-26 18:47:21 +02:00
2023-06-05 09:36:39 +02:00
2023-06-05 09:36:40 +02:00
2023-07-24 12:12:24 +02:00
2020-12-16 14:55:49 +01:00
2024-02-22 15:38:51 -08:00
2022-07-13 14:42:11 +00:00
2023-02-15 11:07:01 +01:00
2023-08-18 10:12:34 -07:00
2022-12-06 16:18:22 +01:00
2023-08-09 15:20:51 +02:00
2023-11-05 22:34:58 +01:00
2021-08-03 14:31:40 +02:00
2024-02-20 14:37:32 +01:00
2023-10-02 08:43:00 +02:00
2023-10-02 08:43:00 +02:00
2023-06-05 09:36:39 +02:00
2023-12-11 14:33:07 +01:00
2022-05-11 14:40:57 +02:00
2024-02-16 14:30:16 +01:00
2021-06-18 16:41:21 +02:00
2022-01-30 21:17:00 -05:00
2021-07-08 15:37:28 +02:00
2021-01-19 12:29:26 +01:00