Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Be consistent to decide if PMAP_WIRED or not.
details: https://anonhg.NetBSD.org/src/rev/12737e46f1c3
branches: trunk
changeset: 751364:12737e46f1c3
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Tue Feb 02 06:52:59 2010 +0000
description:
Be consistent to decide if PMAP_WIRED or not.
diffstat:
sys/uvm/uvm_fault.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 161d2007ac5f -r 12737e46f1c3 sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c Tue Feb 02 06:06:02 2010 +0000
+++ b/sys/uvm/uvm_fault.c Tue Feb 02 06:52:59 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_fault.c,v 1.153 2010/02/02 06:06:02 uebayasi Exp $ */
+/* $NetBSD: uvm_fault.c,v 1.154 2010/02/02 06:52:59 uebayasi Exp $ */
/*
*
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.153 2010/02/02 06:06:02 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.154 2010/02/02 06:52:59 uebayasi Exp $");
#include "opt_uvmhist.h"
@@ -1099,8 +1099,7 @@
VM_PAGE_TO_PHYS(anon->an_page),
(anon->an_ref > 1) ? (flt->enter_prot & ~VM_PROT_WRITE) :
flt->enter_prot,
- PMAP_CANFAIL |
- (VM_MAPENT_ISWIRED(ufi->entry) ? PMAP_WIRED : 0));
+ PMAP_CANFAIL | (flt->wire_mapping ? PMAP_WIRED : 0));
uvm_fault_upper_lookup_enter_done:
pmap_update(ufi->orig_map->pmap);
Home |
Main Index |
Thread Index |
Old Index