Index: sys/vm/vm_pageq.c =================================================================== RCS file: /big/FreeBSD-CVS/src/sys/vm/vm_pageq.c,v retrieving revision 1.19 diff -u -u -r1.19 vm_pageq.c --- sys/vm/vm_pageq.c 31 Dec 2005 14:39:20 -0000 1.19 +++ sys/vm/vm_pageq.c 4 Jan 2006 17:39:09 -0000 @@ -79,7 +79,7 @@ setPQL2(&pq_cachesize, &pq_cachenways); - if (pq_cachesize > 0) + if (pq_cachesize > 0 && pq_cachenways > 0 && PAGE_SIZE > 1024) PQ_NUMCOLORS = pq_cachesize / (PAGE_SIZE/1024) / \ pq_cachenways; else