Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm uvm_fault: pass NULL pap to pmap_extract where we do...



details:   https://anonhg.NetBSD.org/src/rev/e0637bc9b284
branches:  trunk
changeset: 572380:e0637bc9b284
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Jan 01 09:14:49 2005 +0000

description:
uvm_fault: pass NULL pap to pmap_extract where we don't need paddr.

diffstat:

 sys/uvm/uvm_fault.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r a6069dace8fe -r e0637bc9b284 sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c       Sat Jan 01 09:13:14 2005 +0000
+++ b/sys/uvm/uvm_fault.c       Sat Jan 01 09:14:49 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_fault.c,v 1.88 2004/05/05 11:54:32 yamt Exp $      */
+/*     $NetBSD: uvm_fault.c,v 1.89 2005/01/01 09:14:49 yamt Exp $      */
 
 /*
  *
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.88 2004/05/05 11:54:32 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.89 2005/01/01 09:14:49 yamt Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -563,7 +563,6 @@
        int npages, nback, nforw, centeridx, error, lcv, gotpages;
        vaddr_t startva, objaddr, currva;
        voff_t uoff;
-       paddr_t pa;
        struct vm_amap *amap;
        struct uvm_object *uobj;
        struct vm_anon *anons_store[UVM_MAXRANGE], **anons, *anon, *oanon;
@@ -800,7 +799,7 @@
                 * except for center)
                 */
                if (lcv != centeridx &&
-                   pmap_extract(ufi.orig_map->pmap, currva, &pa)) {
+                   pmap_extract(ufi.orig_map->pmap, currva, NULL)) {
                        pages[lcv] = PGO_DONTCARE;
                        continue;
                }



Home | Main Index | Thread Index | Old Index