Source-Changes-HG archive

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

[src/trunk]: src/sys/arch MULTIPROCESSOR for dom0 should be safe now. Enable it.



details:   https://anonhg.NetBSD.org/src/rev/5f9acb42d0bc
branches:  trunk
changeset: 932638:5f9acb42d0bc
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed May 13 08:42:01 2020 +0000

description:
MULTIPROCESSOR for dom0 should be safe now. Enable it.

diffstat:

 sys/arch/amd64/conf/XEN3_DOM0   |  8 ++++----
 sys/arch/i386/conf/XEN3PAE_DOM0 |  6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r 4327c6b64883 -r 5f9acb42d0bc sys/arch/amd64/conf/XEN3_DOM0
--- a/sys/arch/amd64/conf/XEN3_DOM0     Wed May 13 06:09:25 2020 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOM0     Wed May 13 08:42:01 2020 +0000
@@ -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       UVMHIST_PRINT
 #options       SYSCALL_DEBUG
 
-#ident         "XEN3_DOM0-$Revision: 1.177 $"
+#ident         "XEN3_DOM0-$Revision: 1.178 $"
 
 maxusers       32              # estimated number of users
 
diff -r 4327c6b64883 -r 5f9acb42d0bc sys/arch/i386/conf/XEN3PAE_DOM0
--- a/sys/arch/i386/conf/XEN3PAE_DOM0   Wed May 13 06:09:25 2020 +0000
+++ b/sys/arch/i386/conf/XEN3PAE_DOM0   Wed May 13 08:42:01 2020 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index