mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
Eliminate the acquisition and release of the page queues lock around a call
to vm_page_sleep_if_busy().
This commit is contained in:
parent
e74814b66a
commit
e7e56b2889
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161014
@ -389,10 +389,8 @@ RetryFault:;
|
||||
VM_OBJECT_LOCK(fs.object);
|
||||
if (fs.m == vm_page_lookup(fs.object,
|
||||
fs.pindex)) {
|
||||
vm_page_lock_queues();
|
||||
if (!vm_page_sleep_if_busy(fs.m, TRUE,
|
||||
"vmpfw"))
|
||||
vm_page_unlock_queues();
|
||||
vm_page_sleep_if_busy(fs.m, TRUE,
|
||||
"vmpfw");
|
||||
}
|
||||
vm_object_pip_wakeup(fs.object);
|
||||
VM_OBJECT_UNLOCK(fs.object);
|
||||
|
Loading…
Reference in New Issue
Block a user