mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
I think this covers (fixes) the last batch of freeing active/held/busy page
problem. BY MISTAKE, the vm_page_unqueue (or equiv) was removed from the vm_fault code. Really bad things appear to happen if a page is on a queue while it is being faulted.
This commit is contained in:
parent
53996faddb
commit
0ed4376231
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15904
1 changed files with 3 additions and 1 deletions
|
@ -66,7 +66,7 @@
|
|||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id: vm_fault.c,v 1.44 1996/05/18 03:37:35 dyson Exp $
|
||||
* $Id: vm_fault.c,v 1.45 1996/05/19 07:36:45 dyson Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -292,6 +292,8 @@ RetryFault:;
|
|||
goto RetryFault;
|
||||
}
|
||||
|
||||
vm_page_unqueue(m);
|
||||
|
||||
if (m->valid &&
|
||||
((m->valid & VM_PAGE_BITS_ALL) != VM_PAGE_BITS_ALL) &&
|
||||
m->object != kernel_object && m->object != kmem_object) {
|
||||
|
|
Loading…
Reference in a new issue