netchild 2005-12-31 14:39:20 UTC FreeBSD src repository
Modified files: sys/i386/i386 identcpu.c sys/amd64/amd64 identcpu.c sys/alpha/alpha cpuconf.c sys/arm/arm identcpu.c sys/ia64/ia64 machdep.c sys/powerpc/powerpc machdep.c sys/sparc64/sparc64 identcpu.c sys/kern vfs_bio.c sys/conf NOTES options sys/vm vm_contig.c vm_fault.c vm_object.c vm_page.c vm_page.h vm_pageout.c vm_pageq.c vm_zeroidle.c Log: MI changes: - provide an interface (macros) to the page coloring part of the VM system, this allows to try different coloring algorithms without the need to touch every file [1] - make the page queue tuning values readable: sysctl vm.stats.pagequeue - autotuning of the page coloring values based upon the cache size instead of options in the kernel config (disabling of the page coloring as a kernel option is still possible) MD changes: - detection of the cache size: only IA32 and AMD64 (untested) contains cache size detection code, every other arch just comes with a dummy function (this results in the use of default values like it was the case without the autotuning of the page coloring) - print some more info on Intel CPU's (like we do on AMD and Transmeta CPU's) Note to AMD owners (IA32 and AMD64): please run "sysctl vm.stats.pagequeue" and report if the cache* values are zero (= bug in the cache detection code) or not. Based upon work by: Chad David <[EMAIL PROTECTED]> [1] Reviewed by: alc, arch (in 2004) Discussed with: alc, Chad David, arch (in 2004) Revision Changes Path 1.19 +7 -0 src/sys/alpha/alpha/cpuconf.c 1.142 +32 -0 src/sys/amd64/amd64/identcpu.c 1.6 +9 -0 src/sys/arm/arm/identcpu.c 1.1341 +1 -7 src/sys/conf/NOTES 1.522 +0 -5 src/sys/conf/options 1.152 +466 -0 src/sys/i386/i386/identcpu.c 1.205 +8 -0 src/sys/ia64/ia64/machdep.c 1.500 +2 -2 src/sys/kern/vfs_bio.c 1.93 +8 -0 src/sys/powerpc/powerpc/machdep.c 1.15 +8 -0 src/sys/sparc64/sparc64/identcpu.c 1.45 +5 -6 src/sys/vm/vm_contig.c 1.211 +3 -2 src/sys/vm/vm_fault.c 1.353 +8 -11 src/sys/vm/vm_object.c 1.310 +21 -21 src/sys/vm/vm_page.c 1.138 +48 -67 src/sys/vm/vm_page.h 1.271 +6 -6 src/sys/vm/vm_pageout.c 1.19 +121 -31 src/sys/vm/vm_pageq.c 1.36 +1 -1 src/sys/vm/vm_zeroidle.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"