Remove a very ill advised vm_page_protect. This was being called

for a non-managed page.  That is a big no-no.
This commit is contained in:
John Dyson 1998-03-08 18:05:59 +00:00
parent aac4ad2c99
commit 6215e86272
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34320

View file

@ -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++;
}