From: Jeff Dike <jdike@addtoit.com>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org,
user-mode-linux-devel@lists.sourceforge.net,
Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Subject: [PATCH 4/9] UML - Mark SMP on UML/x86_64 as broken
Date: Mon, 29 Aug 2005 16:07:02 -0400 [thread overview]
Message-ID: <200508292007.j7TK72Or029927@ccure.user-mode-linux.org> (raw)
Noticed by Al Viro - SMP on x86_64 is fundamentally broken due to
UML's reuse of the host arch's percpu stuff. This is OK on x86, but
the x86_64 pda stuff just won't work for UML.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Index: linux-2.6.13-rc6/arch/um/Kconfig
===================================================================
--- linux-2.6.13-rc6.orig/arch/um/Kconfig 2005-08-15 12:03:07.000000000 -0400
+++ linux-2.6.13-rc6/arch/um/Kconfig 2005-08-15 14:04:23.000000000 -0400
@@ -196,7 +196,7 @@
config SMP
bool "Symmetric multi-processing support (EXPERIMENTAL)"
default n
- depends on MODE_TT && EXPERIMENTAL
+ depends on (MODE_TT && EXPERIMENTAL && !SMP_BROKEN) || (BROKEN && SMP_BROKEN)
help
This option enables UML SMP support.
It is NOT related to having a real SMP box. Not directly, at least.
Index: linux-2.6.13-rc6/arch/um/Kconfig_x86_64
===================================================================
--- linux-2.6.13-rc6.orig/arch/um/Kconfig_x86_64 2005-08-08 12:11:18.000000000 -0400
+++ linux-2.6.13-rc6/arch/um/Kconfig_x86_64 2005-08-15 14:04:27.000000000 -0400
@@ -33,3 +33,7 @@
config ARCH_REUSE_HOST_VSYSCALL_AREA
bool
default n
+
+config SMP_BROKEN
+ bool
+ default y
next reply other threads:[~2005-08-29 20:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-29 20:07 Jeff Dike [this message]
2005-08-30 20:42 ` Andi Kleen
2005-08-30 21:28 ` Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200508292007.j7TK72Or029927@ccure.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=user-mode-linux-devel@lists.sourceforge.net \
--cc=viro@parcelfarce.linux.theplanet.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome