mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 00:20:29 +00:00
Use the new macros abstracting the page coloring/queues implementation.
(There are no functional changes.)
This commit is contained in:
parent
8d0ed6fe4a
commit
82eedee4a4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154896
|
@ -410,8 +410,8 @@ RetryFault:;
|
|||
|
||||
vm_pageq_remove_nowakeup(fs.m);
|
||||
|
||||
if ((queue - fs.m->pc) == PQ_CACHE \
|
||||
&& vm_page_count_severe()) {
|
||||
if (VM_PAGE_RESOLVEQUEUE(fs.m, queue) == PQ_CACHE &&
|
||||
vm_page_count_severe()) {
|
||||
vm_page_activate(fs.m);
|
||||
vm_page_unlock_queues();
|
||||
unlock_and_deallocate(&fs);
|
||||
|
|
Loading…
Reference in a new issue