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 ...

From: Scott Long <scottl_at_samsco.org>
Date: Sat, 31 Dec 2005 20:55:12 -0700
I have ample amd64 resources that can be used for testing patches before 
commit, and I'm quite happy to make them available via remote access to 
FreeBSD committers.  I'm pretty sure that there are resources in the
FreeBSD cluster too.

Bjorn, have a good rest, and thanks for working on this and the other
broken commits.

Scott

Bjoern A. Zeeb wrote:
> 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
> _at__at_ -69,8 +69,8 _at__at_ 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";
> _at__at_ -533,7 +533,7 _at__at_ 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];
> _at__at_ -553,7 +553,7 _at__at_ 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
> 
> 
Received on Sun Jan 01 2006 - 03:55:15 UTC