From owner-cvs-src@FreeBSD.ORG Sat Dec 31 14:39:23 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 360FE16A41F; Sat, 31 Dec 2005 14:39:23 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53C4143D49; Sat, 31 Dec 2005 14:39:21 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jBVEdLZR061357; Sat, 31 Dec 2005 14:39:21 GMT (envelope-from netchild@repoman.freebsd.org) Received: (from netchild@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBVEdLak061352; Sat, 31 Dec 2005 14:39:21 GMT (envelope-from netchild) Message-Id: <200512311439.jBVEdLak061352@repoman.freebsd.org> From: Alexander Leidinger Date: Sat, 31 Dec 2005 14:39:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/i386 identcpu.c src/sys/amd64/amd64 identcpu.c src/sys/alpha/alpha cpuconf.c src/sys/arm/arm identcpu.c src/sys/ia64/ia64 machdep.c src/sys/powerpc/powerpc machdep.c src/sys/sparc64/sparc64 identcpu.c src/sys/kern ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2005 14:39:23 -0000 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 [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