Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Reduce the access_type for copy-on-write pages in th...



details:   https://anonhg.NetBSD.org/src/rev/c34e481a7d4d
branches:  trunk
changeset: 467768:c34e481a7d4d
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sun Mar 28 21:48:50 1999 +0000

description:
Reduce the access_type for copy-on-write pages in the front and back regions.

diffstat:

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

diffs (18 lines):

diff -r f7afd4610739 -r c34e481a7d4d sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c       Sun Mar 28 21:39:59 1999 +0000
+++ b/sys/uvm/uvm_fault.c       Sun Mar 28 21:48:50 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_fault.c,v 1.25 1999/03/28 21:01:25 mycroft Exp $   */
+/*     $NetBSD: uvm_fault.c,v 1.26 1999/03/28 21:48:50 mycroft Exp $   */
 
 /*
  *
@@ -950,7 +950,7 @@
                                pmap_enter(ufi.orig_map->pmap, currva,
                                    VM_PAGE_TO_PHYS(pages[lcv]),
                                    enter_prot & MASK(ufi.entry),
-                                   wired, access_type);
+                                   wired, access_type & MASK(ufi.entry));
 
                                /* 
                                 * NOTE: page can't be PG_WANTED or PG_RELEASED



Home | Main Index | Thread Index | Old Index