Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 084189a8 authored by Richard Weinberger's avatar Richard Weinberger Committed by Linus Torvalds
Browse files

um: disable CONFIG_CMPXCHG_LOCAL



Commit 8a5ec0ba "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: default avatarRichard Weinberger <richard@nod.at>
Reported-by: default avatarSergei Trofimovich <slyich@gmail.com>
Acked-by: default avatarPekka Enberg <penberg@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6d56dad3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4,6 +4,10 @@ menu "UML-specific options"

menu "Host processor type and features"

config CMPXCHG_LOCAL
	bool
	default n

source "arch/x86/Kconfig.cpu"

endmenu