mirror of
https://github.com/opnsense/src.git
synced 2026-02-21 08:50:22 -05:00
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) |
||
|---|---|---|
| .. | ||
| libmemstat.3 | ||
| Makefile | ||
| memstat.c | ||
| memstat.h | ||
| memstat_all.c | ||
| memstat_internal.h | ||
| memstat_malloc.c | ||
| memstat_uma.c | ||