[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176830139706.510.489304857404520372.tip-bot2@tip-bot2>
Date: Tue, 13 Jan 2026 10:49:57 -0000
From: "tip-bot2 for Boqun Feng" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: FUJITA Tomonori <fujita.tomonori@...il.com>,
Richard Weinberger <richard@....at>, Boqun Feng <boqun.feng@...il.com>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject:
[tip: locking/core] arch: um/x86: Select ARCH_SUPPORTS_ATOMIC_RMW for UML_X86
The following commit has been merged into the locking/core branch of tip:
Commit-ID: cf4c3bc1445152c1949a4b5fef56d07579fadb1e
Gitweb: https://git.kernel.org/tip/cf4c3bc1445152c1949a4b5fef56d07579fadb1e
Author: Boqun Feng <boqun.feng@...il.com>
AuthorDate: Tue, 06 Jan 2026 11:40:34 +08:00
Committer: Boqun Feng <boqun.feng@...il.com>
CommitterDate: Fri, 09 Jan 2026 19:01:41 +08:00
arch: um/x86: Select ARCH_SUPPORTS_ATOMIC_RMW for UML_X86
x86 atomic instructions are used for um on UML_X86, therefore atomics
on UML_X86 support native atomic RmW as x86 does, hence select
ARCH_SUPPORTS_ATOMIC_RMW.
Reviewed-by: FUJITA Tomonori <fujita.tomonori@...il.com>
Acked-by: Richard Weinberger <richard@....at>
Signed-off-by: Boqun Feng <boqun.feng@...il.com>
Link: https://patch.msgid.link/20260106034034.60074-1-boqun.feng@gmail.com
---
arch/x86/um/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/um/Kconfig b/arch/x86/um/Kconfig
index bdd7c8e..44b12e4 100644
--- a/arch/x86/um/Kconfig
+++ b/arch/x86/um/Kconfig
@@ -9,6 +9,7 @@ endmenu
config UML_X86
def_bool y
select ARCH_USE_QUEUED_RWLOCKS
+ select ARCH_SUPPORTS_ATOMIC_RMW
select ARCH_USE_QUEUED_SPINLOCKS
select DCACHE_WORD_ACCESS
select HAVE_EFFICIENT_UNALIGNED_ACCESS
Powered by blists - more mailing lists