Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Initialize UVM loaning subsystem a bit later, after ...



details:   https://anonhg.NetBSD.org/src/rev/680b6ed2bed4
branches:  trunk
changeset: 764451:680b6ed2bed4
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sun Apr 24 03:56:50 2011 +0000

description:
Initialize UVM loaning subsystem a bit later, after kmem(9).
Makes UVMHIST work again.

diffstat:

 sys/uvm/uvm_init.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r a5a924ae4391 -r 680b6ed2bed4 sys/uvm/uvm_init.c
--- a/sys/uvm/uvm_init.c        Sun Apr 24 01:56:44 2011 +0000
+++ b/sys/uvm/uvm_init.c        Sun Apr 24 03:56:50 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_init.c,v 1.40 2011/04/23 18:14:12 rmind Exp $      */
+/*     $NetBSD: uvm_init.c,v 1.41 2011/04/24 03:56:50 rmind Exp $      */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_init.c,v 1.40 2011/04/23 18:14:12 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_init.c,v 1.41 2011/04/24 03:56:50 rmind Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -144,12 +144,6 @@
        uvm_pager_init();
 
        /*
-        * step 8: init the uvm_loan() facility.
-        */
-
-       uvm_loan_init();
-
-       /*
         * Initialize pools.  This must be done before anyone manipulates
         * any vm_maps because we use a pool for some map entry structures.
         */
@@ -163,6 +157,12 @@
        kmem_init();
 
        /*
+        * Initialize the uvm_loan() facility.
+        */
+
+       uvm_loan_init();
+
+       /*
         * init emap subsystem.
         */
 



Home | Main Index | Thread Index | Old Index