summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1998-03-08 18:05:59 +0000
committerdyson <dyson@FreeBSD.org>1998-03-08 18:05:59 +0000
commit6620bf57109935dd6a672f948c29da41b97c5ee1 (patch)
treeddae5c31a5f37118c896ae220b4dab2bb8599a52 /sys/vm
parentd3dd91fcbc3fdd38db7fa5e2a844a103e8090a00 (diff)
downloadFreeBSD-src-6620bf57109935dd6a672f948c29da41b97c5ee1.zip
FreeBSD-src-6620bf57109935dd6a672f948c29da41b97c5ee1.tar.gz
Remove a very ill advised vm_page_protect. This was being called
for a non-managed page. That is a big no-no.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_object.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 6eab7d8..010e8ee 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.116 1998/03/07 21:37:06 dyson Exp $
+ * $Id: vm_object.c,v 1.117 1998/03/08 06:25:59 dyson Exp $
*/
/*
@@ -448,7 +448,6 @@ vm_object_terminate(object)
printf("vm_object_terminate: freeing busy page\n");
#endif
p->flags |= PG_BUSY;
- vm_page_protect(p, VM_PROT_NONE);
vm_page_free(p);
cnt.v_pfree++;
}
OpenPOWER on IntegriCloud