Skip to content

Commit 084189a

Browse files
richardweinbergertorvalds
authored andcommitted
um: disable CONFIG_CMPXCHG_LOCAL
Commit 8a5ec0b "Lockless (and preemptless) fastpaths for slub" makes use of this_cpu_cmpxchg_double() which needs this_cpu_cmpxchg16b_emu() on x86_64. Implementing cmpxchg16b emulation for UML would introduce too much complexity. So just disable it. Signed-off-by: Richard Weinberger <[email protected]> Reported-by: Sergei Trofimovich <[email protected]> Acked-by: Pekka Enberg <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 6d56dad commit 084189a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/um/Kconfig.x86

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ menu "UML-specific options"
44

55
menu "Host processor type and features"
66

7+
config CMPXCHG_LOCAL
8+
bool
9+
default n
10+
711
source "arch/x86/Kconfig.cpu"
812

913
endmenu

0 commit comments

Comments
 (0)