mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100542
@ -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