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



_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to