mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
49f854f926
were indices in a dense array. The cpuids are a sparse set and treat them as such, setting up containers only for CPUs activated during mb_init(). - Fix netstat(1) and systat(1) to treat the per-CPU stats area as a sparse map, in accordance with the above. This allows us to properly boot with certain CPUs disactivated. However, if we later decide to re-activate said CPUs, we will barf until we decide to implement CPU spinon/spinoff callback hooks to allow for said CPUs' per-CPU containers to get configured on their activation. Reported by: mjacob Partially (sys/ diffs) Submitted by: mjacob |
||
---|---|---|
.. | ||
cmds.c | ||
cmdtab.c | ||
devs.c | ||
devs.h | ||
extern.h | ||
fetch.c | ||
icmp.c | ||
iostat.c | ||
ip.c | ||
keyboard.c | ||
main.c | ||
Makefile | ||
mbufs.c | ||
mode.c | ||
mode.h | ||
netcmds.c | ||
netstat.c | ||
pigs.c | ||
swap.c | ||
systat.1 | ||
systat.h | ||
tcp.c | ||
vmstat.c |