Sergey Kandaurov 1882360b9b Get rid of MAXCPU knowledge used for internal needs only. Switch to
dynamic memory allocation to hold per-CPU memory types data (sized to
mp_maxid for UMA, and to mp_maxcpus for malloc to match the kernel).

That fixes libmemstat with arbitrary large MAXCPU values and therefore
eliminates MEMSTAT_ERROR_TOOMANYCPUS error type.

Reviewed by:	jhb
Approved by:	re (kib)
2011-08-01 09:43:35 +00:00
..
2011-07-17 21:27:38 +00:00
2011-07-21 20:06:14 +00:00
2011-04-14 15:42:15 +00:00
2010-12-04 08:44:56 +00:00
2011-07-30 13:22:44 +00:00
2011-07-17 15:40:56 +00:00