aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_map.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-02-24 21:26:26 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-02-24 21:26:26 +0000
commitd1bf5d56b6ea4a736dd947e056dcc03a33e51c97 (patch)
tree3ef1e996b1a5f9902a86a6b0ccfedba630a92074 /sys/vm/vm_map.c
parentbf182865931d6e2d4f2a6379a13882e4c35e6a47 (diff)
Notes
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r--sys/vm/vm_map.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index cbb59cf1adef..05c8c5c4a80c 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_map.c,v 1.150 1999/02/19 03:11:37 dillon Exp $
+ * $Id: vm_map.c,v 1.151 1999/02/19 14:25:36 luoqi Exp $
*/
/*
@@ -2162,12 +2162,14 @@ vm_map_split(entry)
/*
* We must wait for pending I/O to complete before we can
* rename the page.
+ *
+ * We do not have to VM_PROT_NONE the page as mappings should
+ * not be changed by this operation.
*/
if (vm_page_sleep_busy(m, TRUE, "spltwt"))
goto retry;
vm_page_busy(m);
- vm_page_protect(m, VM_PROT_NONE);
vm_page_rename(m, new_object, idx);
/* page automatically made dirty by rename and cache handled */
vm_page_busy(m);