From owner-cvs-all@FreeBSD.ORG Sun Jan 1 03:45:11 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 836DC16A41F; Sun, 1 Jan 2006 03:45:11 +0000 (GMT) (envelope-from bz@FreeBSD.org) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFA6143D53; Sun, 1 Jan 2006 03:45:10 +0000 (GMT) (envelope-from bz@FreeBSD.org) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 9B0A61FFACA; Sun, 1 Jan 2006 04:45:08 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id CA8BA1FF9AC; Sun, 1 Jan 2006 04:45:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id DA59544487E; Sun, 1 Jan 2006 03:40:59 +0000 (UTC) Date: Sun, 1 Jan 2006 03:40:59 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Alexander Leidinger In-Reply-To: <200512311439.jBVEdLak061352@repoman.freebsd.org> Message-ID: <20060101033654.B24703@maildrop.int.zabbadoz.net> References: <200512311439.jBVEdLak061352@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2006 03:45:11 -0000 On Sat, 31 Dec 2005, Alexander Leidinger wrote: > netchild 2005-12-31 14:39:20 UTC > > FreeBSD src repository > > 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. ... > Revision Changes Path > 1.142 +32 -0 src/sys/amd64/amd64/identcpu.c it's past 4:30am here so please review before committing: Index: sys/amd64/amd64/identcpu.c =================================================================== RCS file: /shared/mirror/FreeBSD/r/ncvs/src/sys/amd64/amd64/identcpu.c,v retrieving revision 1.142 diff -u -p -r1.142 identcpu.c --- sys/amd64/amd64/identcpu.c 31 Dec 2005 14:39:18 -0000 1.142 +++ sys/amd64/amd64/identcpu.c 1 Jan 2006 03:38:26 -0000 @@ -69,8 +69,8 @@ void panicifcpuunsupported(void); static void print_AMD_info(void); static void print_AMD_assoc(int i); +static void setPQL2_AMD(int *const size, int *const ways); void setPQL2(int *const size, int *const ways); -static void setPQL2_AMD(void); int cpu_class; char machine[] = "amd64"; @@ -533,7 +533,7 @@ print_AMD_info(void) } static void -setPQL2_AMD(void) +setPQL2_AMD(int *const size, int *const ways) { if (cpu_exthigh >= 0x80000006) { u_int regs[4]; @@ -553,7 +553,7 @@ setPQL2_AMD(void) } void -setPQL2(int *const size, int *const ways); +setPQL2(int *const size, int *const ways) { if (strcmp(cpu_vendor, "AuthenticAMD") == 0) setPQL2_AMD(size, ways); > sysctl -a vm.stats.pagequeue vm.stats.pagequeue.page_colors: 16 vm.stats.pagequeue.cachesize: 1024 vm.stats.pagequeue.cachenways: 16 vm.stats.pagequeue.prime1: 5 vm.stats.pagequeue.prime2: 3 -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT