K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-12-08T13:16:22.000000Z K 7 svn:log V 432 Teach umastat about the variable-length array of per-CPU caches at the end of struct uma_zone. It is declared as an array of size [1], but then sized at run-time by UMA to include room for mp_maxid+1 CPUs. We have to copy the uma_zone first at the declared structure size, then check to make sure it's not an internal zone before copying the larger size (UMA internal zones don't use per-CPU caches). This fixes umastat for SMP. END