Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Initialize P->V tracking for unmanaged device pages ...
details: https://anonhg.NetBSD.org/src/rev/de0a7ef1dae5
branches: trunk
changeset: 337109:de0a7ef1dae5
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Apr 03 01:03:42 2015 +0000
description:
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
diffstat:
sys/uvm/uvm_init.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 47b7fb76b0ef -r de0a7ef1dae5 sys/uvm/uvm_init.c
--- a/sys/uvm/uvm_init.c Thu Apr 02 18:41:22 2015 +0000
+++ b/sys/uvm/uvm_init.c Fri Apr 03 01:03:42 2015 +0000
@@ -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_km_init();
+#ifdef __HAVE_PMAP_PV_TRACK
+ pmap_pv_init();
+#endif
#ifdef DEBUG
debug_init();
Home |
Main Index |
Thread Index |
Old Index