mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 18:14:56 +01: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
@ -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 New Issue
Block a user