o Extend the scope of the page queues lock in vm_pageout_scan()

to cover the traversal of the cache queue.
This commit is contained in:
Alan Cox 2002-07-23 02:42:25 +00:00
parent 5d3232048e
commit 8ffc151979

View File

@ -1050,7 +1050,6 @@ rescan0:
}
m = next;
}
vm_page_unlock_queues();
s = splvm();
/*
@ -1079,7 +1078,7 @@ rescan0:
cnt.v_dfree++;
}
splx(s);
vm_page_unlock_queues();
#if !defined(NO_SWAPPING)
/*
* Idle process swapout -- run once per second.