Use the new macros abstracting the page coloring/queues implementation.

(There are no functional changes.)
This commit is contained in:
Alan Cox 2006-01-27 08:35:32 +00:00
parent 8d0ed6fe4a
commit 82eedee4a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154896

View file

@ -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);