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:
parent
58c39e0325
commit
50d935d234
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user