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 Move pool subsystem init from rump...



details:   https://anonhg.NetBSD.org/src/rev/08e9b7aa3725
branches:  trunk
changeset: 773240:08e9b7aa3725
user:      njoly <njoly%NetBSD.org@localhost>
date:      Sun Jan 29 14:57:31 2012 +0000

description:
Move pool subsystem init from rump__init() to uvm_init(), following
kernel code. Fix RUMP_LOCKDEBUG early panic.

diffstat:

 sys/rump/librump/rumpkern/rump.c |  5 ++---
 sys/rump/librump/rumpkern/vm.c   |  5 +++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r da1e43b682c4 -r 08e9b7aa3725 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Sun Jan 29 13:38:15 2012 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Sun Jan 29 14:57:31 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.238 2011/12/04 19:24:59 jym Exp $   */
+/*     $NetBSD: rump.c,v 1.239 2012/01/29 14:57:31 njoly 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.238 2011/12/04 19:24:59 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.239 2012/01/29 14:57:31 njoly Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -300,7 +300,6 @@
        kernconfig_lock_init();
        prop_kern_init();
 
-       pool_subsystem_init();
        kmem_init();
 
        uvm_ra_init();
diff -r da1e43b682c4 -r 08e9b7aa3725 sys/rump/librump/rumpkern/vm.c
--- a/sys/rump/librump/rumpkern/vm.c    Sun Jan 29 13:38:15 2012 +0000
+++ b/sys/rump/librump/rumpkern/vm.c    Sun Jan 29 14:57:31 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm.c,v 1.121 2012/01/27 19:48:41 para Exp $    */
+/*     $NetBSD: vm.c,v 1.122 2012/01/29 14:57:31 njoly Exp $   */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.121 2012/01/27 19:48:41 para Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.122 2012/01/29 14:57:31 njoly Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -330,6 +330,7 @@
 
        kernel_map->pmap = pmap_kernel();
 
+       pool_subsystem_init();
        vmem_bootstrap();
        kmem_arena = vmem_create("kmem", 0, 1024*1024, PAGE_SIZE,
            NULL, NULL, NULL,



Home | Main Index | Thread Index | Old Index