Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern Set mp_online = ture. I don't know...



details:   https://anonhg.NetBSD.org/src/rev/7c2066523521
branches:  trunk
changeset: 828888:7c2066523521
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Jan 09 04:55:43 2018 +0000

description:
Set mp_online = ture. I don't know the "best" location to set it true.
This change might fix PR#52886.

diffstat:

 sys/rump/librump/rumpkern/rump.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r d84443bfe050 -r 7c2066523521 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Tue Jan 09 04:41:19 2018 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Tue Jan 09 04:55:43 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.330 2017/11/21 08:49:14 ozaki-r Exp $       */
+/*     $NetBSD: rump.c,v 1.331 2018/01/09 04:55:43 msaitoh Exp $       */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.330 2017/11/21 08:49:14 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.331 2018/01/09 04:55:43 msaitoh Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -392,6 +392,8 @@
        /* Once all CPUs are detected, initialize the per-CPU cprng_fast.  */
        cprng_fast_init();
 
+       mp_online = true;
+
        /* CPUs are up.  allow kernel threads to run */
        rump_thread_allow(NULL);
 



Home | Main Index | Thread Index | Old Index