summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_fault.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1995-10-23 03:49:43 +0000
committerdyson <dyson@FreeBSD.org>1995-10-23 03:49:43 +0000
commiteca6c1d9071f4f2d6fd60abc77434cb5c8c704f6 (patch)
treea4c5c0e3896279ce0d055bda78065aad34770917 /sys/vm/vm_fault.c
parent770c343ca51517e46d159086b34446ef17252027 (diff)
downloadFreeBSD-src-eca6c1d9071f4f2d6fd60abc77434cb5c8c704f6.zip
FreeBSD-src-eca6c1d9071f4f2d6fd60abc77434cb5c8c704f6.tar.gz
First phase of removing the PG_COPYONWRITE flag, and an architectural
cleanup of mapping files.
Diffstat (limited to 'sys/vm/vm_fault.c')
-rw-r--r--sys/vm/vm_fault.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
index 23e0961..efd63fa 100644
--- a/sys/vm/vm_fault.c
+++ b/sys/vm/vm_fault.c
@@ -66,7 +66,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_fault.c,v 1.32 1995/09/24 19:47:58 dyson Exp $
+ * $Id: vm_fault.c,v 1.33 1995/10/07 19:02:53 davidg Exp $
*/
/*
@@ -532,7 +532,6 @@ readrest:
object->paging_in_progress++;
} else {
prot &= ~VM_PROT_WRITE;
- m->flags |= PG_COPYONWRITE;
}
}
@@ -590,19 +589,12 @@ readrest:
* write-enabled after all.
*/
prot &= retry_prot;
- if (m->flags & PG_COPYONWRITE)
- prot &= ~VM_PROT_WRITE;
}
/*
* (the various bits we're fiddling with here are locked by the
* object's lock)
*/
- /* XXX This distorts the meaning of the copy_on_write bit */
-
- if (prot & VM_PROT_WRITE)
- m->flags &= ~PG_COPYONWRITE;
-
/*
* It's critically important that a wired-down page be faulted only
* once in each map for which it is wired.
OpenPOWER on IntegriCloud