mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
to the maximum number of CPUs to ensure that lcpustates[] array is always allocated to the maximum size. Previously, if top was started without per-CPU stats it would allocate a smaller lcpustates[] array. When per-CPU stats were then enabled, it would overflow the array and trash the cpustates_columns[] array causing the CPU stats to be printed in the wrong locations. Approved by: re (kib) MFC after: 1 week |
||
|---|---|---|
| .. | ||
| machine.c | ||
| Makefile | ||
| top.local.1 | ||