mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 13:53:39 +00:00
Fix a bug introduced in r356002. Prior versions of this patchset had
vm_page_remove() rather than !vm_page_wired() as the condition for free. When this changed back to wired the busy lock was leaked. Reported by: pho Reviewed by: markj
This commit is contained in:
parent
cd0c3137f8
commit
419f0b1f95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356026
|
@ -180,6 +180,8 @@ fault_page_free(vm_page_t *mp)
|
|||
VM_OBJECT_ASSERT_WLOCKED(m->object);
|
||||
if (!vm_page_wired(m))
|
||||
vm_page_free(m);
|
||||
else
|
||||
vm_page_xunbusy(m);
|
||||
*mp = NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue