Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 More debug
details: https://anonhg.NetBSD.org/src/rev/6ca10a62dc7b
branches: trunk
changeset: 950424:6ca10a62dc7b
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Jan 29 07:00:28 2021 +0000
description:
More debug
diffstat:
sys/arch/arm/arm32/pmap.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (45 lines):
diff -r 48e3958d5d73 -r 6ca10a62dc7b sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Fri Jan 29 06:24:18 2021 +0000
+++ b/sys/arch/arm/arm32/pmap.c Fri Jan 29 07:00:28 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.423 2021/01/24 14:51:01 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.424 2021/01/29 07:00:28 skrll Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -192,7 +192,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.423 2021/01/24 14:51:01 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.424 2021/01/29 07:00:28 skrll Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -4423,8 +4423,8 @@
pt_entry_t * const ptep = &l2b->l2b_kva[l2pte_index(va)];
pt_entry_t const opte = *ptep;
if (opte == 0 || (opte & L2_TYPE_MASK) == L2_TYPE_L) {
- UVMHIST_LOG(maphist, " <-- done (empty pde for l1slot %#jx)",
- l1slot, 0, 0, 0);
+ UVMHIST_LOG(maphist, " <-- done (empty pte)",
+ 0, 0, 0, 0);
goto out;
}
@@ -4439,6 +4439,7 @@
#endif
pa = l2pte_pa(opte);
+ UVMHIST_LOG(maphist, " pa %#jx opte %#jx ", pa, opte, 0, 0);
if ((ftype & VM_PROT_WRITE) && !l2pte_writable_p(opte)) {
/*
@@ -4474,6 +4475,7 @@
*/
if ((pv->pv_flags & PVF_WRITE) == 0) {
pmap_release_page_lock(md);
+ UVMHIST_LOG(maphist, " <-- done (write fault)", 0, 0, 0, 0);
goto out;
}
Home |
Main Index |
Thread Index |
Old Index