diff options
author | alc <alc@FreeBSD.org> | 2006-01-27 08:35:32 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2006-01-27 08:35:32 +0000 |
commit | 8db5cab2c2c268cece74e59a06aeb4885a7c23a9 (patch) | |
tree | 126ea9d76a07a719e97611bcaae482b9e0318a80 /sys/vm/vm_fault.c | |
parent | 6efae9acb29b8c64923ae1ee77e7cc82e5e8a0e2 (diff) | |
download | FreeBSD-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/vm_fault.c')
-rw-r--r-- | sys/vm/vm_fault.c | 4 |
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); |