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
5d3232048e
commit
8ffc151979
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user