Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Duuuh. Back and front pages should have an access_t...



details:   https://anonhg.NetBSD.org/src/rev/a79d7536b340
branches:  trunk
changeset: 467781:a79d7536b340
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Mon Mar 29 05:43:31 1999 +0000

description:
Duuuh.  Back and front pages should have an access_type of 0, since we don't
know they're going to be used.  What was I thinking??

diffstat:

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

diffs (19 lines):

diff -r 9d8284bf7385 -r a79d7536b340 sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c       Mon Mar 29 05:31:24 1999 +0000
+++ b/sys/uvm/uvm_fault.c       Mon Mar 29 05:43:31 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_fault.c,v 1.26 1999/03/28 21:48:50 mycroft Exp $   */
+/*     $NetBSD: uvm_fault.c,v 1.27 1999/03/29 05:43:31 mycroft Exp $   */
 
 /*
  *
@@ -949,8 +949,7 @@
                                uvmexp.fltnomap++;
                                pmap_enter(ufi.orig_map->pmap, currva,
                                    VM_PAGE_TO_PHYS(pages[lcv]),
-                                   enter_prot & MASK(ufi.entry),
-                                   wired, access_type & MASK(ufi.entry));
+                                   enter_prot & MASK(ufi.entry), wired, 0);
 
                                /* 
                                 * NOTE: page can't be PG_WANTED or PG_RELEASED



Home | Main Index | Thread Index | Old Index