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:
alc 2002-07-23 02:42:25 +00:00
parent 58c39e0325
commit 50d935d234

View File

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