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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.44.0





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux