Skip to content

s390/preempt: mark all functions __always_inline

Ilya Leoshkevich linux-s390 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2s390/atomic: mark all functions __always_inlinearch/s390/include/asm/atomic.h arch/s390/include/asm/atomic_ops.h+33 -330 replies
2/2s390/preempt: mark all functions __always_inlinearch/s390/include/asm/preempt.h+18 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] s390/preempt: mark all functions __always_inline

Hi,

This series marks all functions in asm/atomic_ops.h, asm/atomic.h and asm/preempt.h __always_inline, and is based on the discussion with Mark [1]. It's one of the changes required to unbreak the work-in-progress KMSAN support on s390x after commit 5ec8e8ea8b77 ("mm/sparsemem: fix race in accessing memory_section->usage"). But it also makes sense on its own, and may prevent issues with the other sanitizers in the future.

bloat-o-meter says:

add/remove: 4/5 grow/shrink: 58/186 up/down: 4408/-6368 (-1960) [...]
Total: Before=29725530, After=29723570, chg -0.01%

Even though there are changes in the code generation, they are insignificant.

[1] https://lore.kernel.org/lkml/ZfhI0F-vXMMw1GzC@FVFF77S0Q05N/

Best regards,
Ilya

Ilya Leoshkevich (2):
s390/atomic: mark all functions __always_inline s390/preempt: mark all functions __always_inline

 arch/s390/include/asm/atomic.h     | 44 +++++++++++++++---------------
 arch/s390/include/asm/atomic_ops.h | 22 +++++++--------
 arch/s390/include/asm/preempt.h    | 36 ++++++++++++------------
 3 files changed, 51 insertions(+), 51 deletions(-)
Signature · 1 line
2.44.0