Source-Changes-HG archive

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

[src/rmind-uvmplock]: src/sys/uvm Do not call uvm_loan_init() twice.



details:   https://anonhg.NetBSD.org/src/rev/1e5574e3d27d
branches:  rmind-uvmplock
changeset: 753096:1e5574e3d27d
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sun Jun 12 02:32:29 2011 +0000

description:
Do not call uvm_loan_init() twice.

diffstat:

 sys/uvm/uvm_init.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (30 lines):

diff -r 9734027ecd17 -r 1e5574e3d27d sys/uvm/uvm_init.c
--- a/sys/uvm/uvm_init.c        Sun Jun 12 00:23:50 2011 +0000
+++ b/sys/uvm/uvm_init.c        Sun Jun 12 02:32:29 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_init.c,v 1.36.4.3 2011/05/31 03:05:14 rmind Exp $  */
+/*     $NetBSD: uvm_init.c,v 1.36.4.4 2011/06/12 02:32:29 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.36.4.3 2011/05/31 03:05:14 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_init.c,v 1.36.4.4 2011/06/12 02:32:29 rmind Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -169,11 +169,6 @@
        uvm_emap_sysinit();
 
        /*
-        * Init the uvm_loan() facility.
-        */
-       uvm_loan_init();
-
-       /*
         * the VM system is now up!  now that kmem is up we can resize the
         * <obj,off> => <page> hash table for general use and enable paging
         * of kernel objects.



Home | Main Index | Thread Index | Old Index