mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-21 09:13:37 +00:00
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:
parent
aac4ad2c99
commit
6215e86272
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34320
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue