Module Name: src
Committed By: bouyer
Date: Wed May 13 08:42:01 UTC 2020
Modified Files:
src/sys/arch/amd64/conf: XEN3_DOM0
src/sys/arch/i386/conf: XEN3PAE_DOM0
Log Message:
MULTIPROCESSOR for dom0 should be safe now. Enable it.
To generate a diff of this commit:
cvs rdiff -u -r1.177 -r1.178 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/i386/conf/XEN3PAE_DOM0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amd64/conf/XEN3_DOM0
diff -u src/sys/arch/amd64/conf/XEN3_DOM0:1.177 src/sys/arch/amd64/conf/XEN3_DOM0:1.178
--- src/sys/arch/amd64/conf/XEN3_DOM0:1.177 Sat Apr 25 16:10:06 2020
+++ src/sys/arch/amd64/conf/XEN3_DOM0 Wed May 13 08:42:01 2020
@@ -1,10 +1,10 @@
-# $NetBSD: XEN3_DOM0,v 1.177 2020/04/25 16:10:06 bouyer Exp $
+# $NetBSD: XEN3_DOM0,v 1.178 2020/05/13 08:42:01 bouyer Exp $
include "arch/amd64/conf/std.xen"
options XENPV # PV dom0 support
-#options MULTIPROCESSOR # (not yet - dom0 stuff is not MP-safe)
-options NO_PREEMPTION
+options MULTIPROCESSOR
+#options NO_PREEMPTION # needed if MULTIPROCESSOR is disabled
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
@@ -12,7 +12,7 @@ options INCLUDE_CONFIG_FILE # embed con
#options UVMHIST_PRINT
#options SYSCALL_DEBUG
-#ident "XEN3_DOM0-$Revision: 1.177 $"
+#ident "XEN3_DOM0-$Revision: 1.178 $"
maxusers 32 # estimated number of users
Index: src/sys/arch/i386/conf/XEN3PAE_DOM0
diff -u src/sys/arch/i386/conf/XEN3PAE_DOM0:1.25 src/sys/arch/i386/conf/XEN3PAE_DOM0:1.26
--- src/sys/arch/i386/conf/XEN3PAE_DOM0:1.25 Sat Apr 25 16:10:06 2020
+++ src/sys/arch/i386/conf/XEN3PAE_DOM0 Wed May 13 08:42:01 2020
@@ -1,12 +1,12 @@
-# $NetBSD: XEN3PAE_DOM0,v 1.25 2020/04/25 16:10:06 bouyer Exp $
+# $NetBSD: XEN3PAE_DOM0,v 1.26 2020/05/13 08:42:01 bouyer Exp $
#
# XEN3_0: Xen 3.0 domain0 kernel
include "arch/i386/conf/std.xen"
options XENPV # PV dom0 support
-#options MULTIPROCESSOR # (not yet - dom0 stuff is not MP-safe)
-options NO_PREEMPTION
+options MULTIPROCESSOR
+#options NO_PREEMPTION # needed if MULTIPROCESSOR is disabled
options INCLUDE_CONFIG_FILE # embed config file in kernel binary