summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_fault.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1995-11-05 20:46:03 +0000
committerdyson <dyson@FreeBSD.org>1995-11-05 20:46:03 +0000
commit1b8e5404ee43d51a47f50d452f1f170f3ca57b22 (patch)
tree4b5a3508979357f31fb77292bfa5c2930e8ba243 /sys/vm/vm_fault.c
parentd461b5899dc0ba4686df948588f1fb15f2133fb7 (diff)
downloadFreeBSD-src-1b8e5404ee43d51a47f50d452f1f170f3ca57b22.zip
FreeBSD-src-1b8e5404ee43d51a47f50d452f1f170f3ca57b22.tar.gz
Greatly simplify the msync code. Eliminate complications in vm_pageout
for msyncing. Remove a bug that manifests itself primarily on NFS (the dirty range on the buffers is not set on msync.)
Diffstat (limited to 'sys/vm/vm_fault.c')
-rw-r--r--sys/vm/vm_fault.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
index ea62347..88c81b1 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.34 1995/10/23 03:49:28 dyson Exp $
+ * $Id: vm_fault.c,v 1.35 1995/11/02 06:42:47 davidg Exp $
*/
/*
@@ -606,7 +606,7 @@ readrest:
if (prot & VM_PROT_WRITE) {
m->flags |= PG_WRITEABLE;
- m->object->flags |= OBJ_WRITEABLE;
+ m->object->flags |= OBJ_WRITEABLE|OBJ_MIGHTBEDIRTY;
/*
* If the fault is a write, we know that this page is being
* written NOW. This will save on the pmap_is_modified() calls
OpenPOWER on IntegriCloud