Skip to content

Commit

Permalink
um: disable CONFIG_CMPXCHG_LOCAL
Browse files Browse the repository at this point in the history
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 <richard@nod.at>
Reported-by: Sergei Trofimovich <slyich@gmail.com>
Acked-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Richard Weinberger authored and Linus Torvalds committed Apr 14, 2011
1 parent 6d56dad commit 084189a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/um/Kconfig.x86
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 084189a

Please sign in to comment.