Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Disable MULTIPROCESSOR for dom0. The dom0 support c...



details:   https://anonhg.NetBSD.org/src/rev/6c68ff4eab8a
branches:  trunk
changeset: 823266:6c68ff4eab8a
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Mon Apr 17 09:54:59 2017 +0000

description:
Disable MULTIPROCESSOR for dom0. The dom0 support code is not MP-safe
(see xen_shm_machdep.c for example, but there are probably others).

diffstat:

 sys/arch/amd64/conf/XEN3_DOM0 |  4 ++--
 sys/arch/i386/conf/XEN3_DOM0  |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 1a1fc3db1843 -r 6c68ff4eab8a sys/arch/amd64/conf/XEN3_DOM0
--- a/sys/arch/amd64/conf/XEN3_DOM0     Mon Apr 17 09:33:00 2017 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOM0     Mon Apr 17 09:54:59 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: XEN3_DOM0,v 1.133 2017/04/17 07:19:28 maya Exp $
+# $NetBSD: XEN3_DOM0,v 1.134 2017/04/17 09:54:59 bouyer Exp $
 
 include        "arch/amd64/conf/std.xen"
 
-options        MULTIPROCESSOR  # (experimental)
+#options       MULTIPROCESSOR  # (not yet - dom0 stuff is not MP-safe)
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
diff -r 1a1fc3db1843 -r 6c68ff4eab8a sys/arch/i386/conf/XEN3_DOM0
--- a/sys/arch/i386/conf/XEN3_DOM0      Mon Apr 17 09:33:00 2017 +0000
+++ b/sys/arch/i386/conf/XEN3_DOM0      Mon Apr 17 09:54:59 2017 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: XEN3_DOM0,v 1.111 2017/04/17 07:19:28 maya Exp $
+#      $NetBSD: XEN3_DOM0,v 1.112 2017/04/17 09:54:59 bouyer Exp $
 #
 #      XEN3_0: Xen 3.0 domain0 kernel
 
 include        "arch/xen/conf/std.xen"
 
-options        MULTIPROCESSOR  # (experimental)
+#options       MULTIPROCESSOR  # (not yet - dom0 stuff is not MP-safe)
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 



Home | Main Index | Thread Index | Old Index