summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_object.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1996-05-21 17:13:31 +0000
committerdyson <dyson@FreeBSD.org>1996-05-21 17:13:31 +0000
commit48a5cbf840ac8014fff4128ac73b18d817c7c36e (patch)
tree84725113f51fad1ea4c76694ba63176f32e188bc /sys/vm/vm_object.c
parente29507eb54815b598b32e12baaa2c46adf1d7393 (diff)
downloadFreeBSD-src-48a5cbf840ac8014fff4128ac73b18d817c7c36e.zip
FreeBSD-src-48a5cbf840ac8014fff4128ac73b18d817c7c36e.tar.gz
After reviewing the previous commit to vm_object, the page protection
is never necessary, not just for PG_FICTICIOUS.
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r--sys/vm/vm_object.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index a375a9d..83ee0cd 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_object.c,v 1.70 1996/05/19 07:36:50 dyson Exp $
+ * $Id: vm_object.c,v 1.71 1996/05/21 05:26:27 dyson Exp $
*/
/*
@@ -407,8 +407,6 @@ vm_object_terminate(object)
while ((p = TAILQ_FIRST(&object->memq)) != NULL) {
if (p->flags & PG_BUSY)
printf("vm_object_terminate: freeing busy page\n");
- if ((p->flags & PG_FICTITIOUS) == 0)
- vm_page_protect(p, VM_PROT_NONE);
PAGE_WAKEUP(p);
vm_page_free(p);
cnt.v_pfree++;
OpenPOWER on IntegriCloud