Module Name:    src
Committed By:   riastradh
Date:           Fri Apr  3 01:03:42 UTC 2015

Modified Files:
        src/sys/uvm: uvm_init.c

Log Message:
Initialize P->V tracking for unmanaged device pages in uvm_init.

Conditional on __HAVE_PMAP_PV_TRACK until we add it to all pmaps.

MI part of pmap_pv(9) change proposed on tech-kern:

https://mail-index.netbsd.org/tech-kern/2015/03/26/msg018561.html


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 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.45 src/sys/uvm/uvm_init.c:1.46
--- src/sys/uvm/uvm_init.c:1.45	Tue Jan 29 21:37:04 2013
+++ src/sys/uvm/uvm_init.c	Fri Apr  3 01:03:42 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_init.c,v 1.45 2013/01/29 21:37:04 para Exp $	*/
+/*	$NetBSD: uvm_init.c,v 1.46 2015/04/03 01:03:42 riastradh 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.45 2013/01/29 21:37:04 para Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_init.c,v 1.46 2015/04/03 01:03:42 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -133,6 +133,9 @@ uvm_init(void)
 	 */
 
 	uvm_km_init();
+#ifdef __HAVE_PMAP_PV_TRACK
+	pmap_pv_init();
+#endif
 
 #ifdef DEBUG
 	debug_init();

Reply via email to