Linux s390 Architecture development
 help / color / mirror / Atom feed
* [PATCH] s390: Select ARCH_MEMORY_ORDER_TSO
@ 2026-10-14 11:50 Heiko Carstens
  2026-10-14 11:52 ` sashiko-bot
  2026-10-14 12:20 ` Ilya Leoshkevich
  0 siblings, 2 replies; 3+ messages in thread
From: Heiko Carstens @ 2026-10-14 11:50 UTC (permalink / raw)
  To: Alexander Gordeev, Sven Schnelle, Vasily Gorbik,
	Christian Borntraeger
  Cc: linux-kernel, linux-s390

s390 is a Total Store Order (TSO) architecture. Therefore select
ARCH_MEMORY_ORDER_TSO which was introduced with [1]. As of now this has
only a small effect on futex_robust_unlock(), but that might change in
the future.

[1] commit 6149fc36c09b ("uaccess: Provide unsafe_atomic_store_release_user()")

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
---
 arch/s390/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 4b51bc6e8948..ebdf9c8049af 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -145,6 +145,7 @@ config S390
 	select ARCH_INLINE_WRITE_UNLOCK_BH
 	select ARCH_INLINE_WRITE_UNLOCK_IRQ
 	select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
+	select ARCH_MEMORY_ORDER_TSO
 	select ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE
 	select ARCH_STACKWALK
 	select ARCH_SUPPORTS_ATOMIC_RMW
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-14 12:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-14 11:50 [PATCH] s390: Select ARCH_MEMORY_ORDER_TSO Heiko Carstens
2026-10-14 11:52 ` sashiko-bot
2026-10-14 12:20 ` Ilya Leoshkevich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox