summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2006-01-27 08:35:32 +0000
committeralc <alc@FreeBSD.org>2006-01-27 08:35:32 +0000
commit8db5cab2c2c268cece74e59a06aeb4885a7c23a9 (patch)
tree126ea9d76a07a719e97611bcaae482b9e0318a80 /sys/vm
parent6efae9acb29b8c64923ae1ee77e7cc82e5e8a0e2 (diff)
downloadFreeBSD-src-8db5cab2c2c268cece74e59a06aeb4885a7c23a9.zip
FreeBSD-src-8db5cab2c2c268cece74e59a06aeb4885a7c23a9.tar.gz
Use the new macros abstracting the page coloring/queues implementation.
(There are no functional changes.)
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_fault.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
index a2e0b3a..cc9145f 100644
--- a/sys/vm/vm_fault.c
+++ b/sys/vm/vm_fault.c
@@ -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);
OpenPOWER on IntegriCloud