Module Name: src Committed By: rmind Date: Sun Apr 24 03:56:50 UTC 2011
Modified Files: src/sys/uvm: uvm_init.c Log Message: Initialize UVM loaning subsystem a bit later, after kmem(9). Makes UVMHIST work again. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/uvm/uvm_init.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/uvm/uvm_init.c diff -u src/sys/uvm/uvm_init.c:1.40 src/sys/uvm/uvm_init.c:1.41 --- src/sys/uvm/uvm_init.c:1.40 Sat Apr 23 18:14:12 2011 +++ src/sys/uvm/uvm_init.c Sun Apr 24 03:56:50 2011 @@ -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. */