freebsd-nq/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
memstat_all.c
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