Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/uvm UVMHIST log for XIP hole COW.
details: https://anonhg.NetBSD.org/src/rev/48a3c437afd1
branches: uebayasi-xip
changeset: 751898:48a3c437afd1
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sun Nov 21 14:52:48 2010 +0000
description:
UVMHIST log for XIP hole COW.
diffstat:
sys/uvm/uvm_fault.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r c90c4ef0ffea -r 48a3c437afd1 sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c Sun Nov 21 14:52:23 2010 +0000
+++ b/sys/uvm/uvm_fault.c Sun Nov 21 14:52:48 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_fault.c,v 1.166.2.25 2010/11/21 12:42:59 uebayasi Exp $ */
+/* $NetBSD: uvm_fault.c,v 1.166.2.26 2010/11/21 14:52:48 uebayasi Exp $ */
/*
*
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.166.2.25 2010/11/21 12:42:59 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.166.2.26 2010/11/21 14:52:48 uebayasi Exp $");
#include "opt_uvmhist.h"
#include "opt_xip.h"
@@ -568,7 +568,7 @@
/* object-backed COW */
opg = uobjpage;
} else {
- /* ZFOD */
+ /* ZFOD or XIP hole */
opg = NULL;
}
if (opg != NULL) {
@@ -2131,8 +2131,8 @@
* uvmfault_promote().
*/
- UVMHIST_LOG(maphist," zero fill anon/page 0x%x/0%x",
- anon, pg, 0, 0);
+ UVMHIST_LOG(maphist," zero fill anon/page 0x%x/0%x%s",
+ anon, pg, (pg == PGO_ZERO) ? " (xip hole)" : "", 0);
}
return uvm_fault_lower_enter(ufi, flt, uobj, anon, pg, uobjpage);
Home |
Main Index |
Thread Index |
Old Index