Make the primary PQ_ macros available to modules by creating the pageq
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 20 May 2004 21:40:52 +0000 (21:40 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 20 May 2004 21:40:52 +0000 (21:40 +0000)
commit74232d8e0683cc81babb75fbc7ccf519f14f85cd
treed7305f4c581ef8beb967b6139c40cf78e465dfcb
parent6ab727603f25f39fe02139704eff6663d747f695
Make the primary PQ_ macros available to modules by creating the pageq
array based on the maximum cache size instead of the selected cache
size.   Remove obsolete PQ_ options (leaving only PQ_CACHESIZE).

Move the vm_page_list_find() inline out of vm_page.h and into vm_page.c,
and provide an external function for other modules that use it.

Remove the 'disable page coloring' option (that nobody has ever used),
and related conditionals.  Page coloring never hurts and is now always on
to some degree.

Suggested-by: Hiten Pandya <hmp@backplane.com>
Agreed-with: Alan Cox <alc@cs.rice.edu>
sys/conf/options
sys/vm/vm_page.c
sys/vm/vm_page.h