Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm26/arm26 Remove printf from pmap_clear_modify; i...
details: https://anonhg.NetBSD.org/src/rev/5f400af60c59
branches: trunk
changeset: 517744:5f400af60c59
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Sun Nov 18 15:57:23 2001 +0000
description:
Remove printf from pmap_clear_modify; it triggers too often.
diffstat:
sys/arch/arm26/arm26/pmap.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r c242483a4ab3 -r 5f400af60c59 sys/arch/arm26/arm26/pmap.c
--- a/sys/arch/arm26/arm26/pmap.c Sun Nov 18 15:47:36 2001 +0000
+++ b/sys/arch/arm26/arm26/pmap.c Sun Nov 18 15:57:23 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.35 2001/11/18 15:47:36 bjh21 Exp $ */
+/* $NetBSD: pmap.c,v 1.36 2001/11/18 15:57:23 bjh21 Exp $ */
/*-
* Copyright (c) 1997, 1998, 2000 Ben Harris
* All rights reserved.
@@ -105,7 +105,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.35 2001/11/18 15:47:36 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.36 2001/11/18 15:57:23 bjh21 Exp $");
#include <sys/kernel.h> /* for cold */
#include <sys/malloc.h>
@@ -856,10 +856,8 @@
if (rv) {
for (pv = &pv_table[ppn]; pv != NULL; pv = pv->pv_next)
if (pv->pv_pmap == pmap_kernel() &&
- (pv->pv_prot & VM_PROT_WRITE)) {
- printf("clear_modify on k-writable page\n");
+ (pv->pv_prot & VM_PROT_WRITE))
return rv;
- }
pv_table[ppn].pv_pflags &= ~PV_MODIFIED;
pmap_update_page(ppn);
}
Home |
Main Index |
Thread Index |
Old Index