vmstat - increase the maximum number of kmalloc types we can
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 5 Feb 2010 06:23:43 +0000 (22:23 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 5 Feb 2010 06:23:43 +0000 (22:23 -0800)
* Increase from 200 to 1024.  200 wasn't enough.

usr.bin/vmstat/vmstat.c

index d63526a..2167cdc 100644 (file)
@@ -772,7 +772,7 @@ dointr(void)
                (long long)inttotal, (long long)(inttotal / uptime));
 }
 
-#define        MAX_KMSTATS     200
+#define        MAX_KMSTATS     1024
 
 static long
 cpuagg(long *ary)