Skip to contentSkip to conversation

s390: Select ARCH_MEMORY_ORDER_TSO

PATCH In review Heiko Carstens 3 participants 3 messages Oct 14 s390

lore
Share & tools
lore

Heiko Carstens

author maintainer
#0 lore raw

PATCH 1/1 s390: Select ARCH_MEMORY_ORDER_TSO

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

---
 arch/s390/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/s390/Kconfig +1 -0
index 4b51bc6e8948..ebdf9c8049af 100644
@@ -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
Signature · 1 line
2.53.0
#1 lore raw
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 8 lines

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

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Reviewed-by on v1 1/1
#2 lore raw
In reply to Heiko Carstens
Quoted 11 lines · Heiko Carstens

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

---
  arch/s390/Kconfig | 1 +
  1 file changed, 1 insertion(+)