freebsd-dev/lib/libmemstat
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
..
libmemstat.3 Get rid of MAXCPU knowledge used for internal needs only. Switch to 2011-08-01 09:43:35 +00:00
Makefile Bump the version of all non-symbol-versioned shared libraries in 2009-07-19 17:25:24 +00:00
memstat_all.c Teach libmemstat(3) how to extract malloc(9) statistics using kvm(3), 2005-08-06 13:54:03 +00:00
memstat_internal.h Get rid of MAXCPU knowledge used for internal needs only. Switch to 2011-08-01 09:43:35 +00:00
memstat_malloc.c Get rid of MAXCPU knowledge used for internal needs only. Switch to 2011-08-01 09:43:35 +00:00
memstat_uma.c Get rid of MAXCPU knowledge used for internal needs only. Switch to 2011-08-01 09:43:35 +00:00
memstat.c Get rid of MAXCPU knowledge used for internal needs only. Switch to 2011-08-01 09:43:35 +00:00
memstat.h Get rid of MAXCPU knowledge used for internal needs only. Switch to 2011-08-01 09:43:35 +00:00