freebsd-nq/usr.bin/systat
Bosko Milekic 49f854f926 - Do not handle the per-CPU containers in mbuf code as though the cpuids
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
2001-07-26 18:47:46 +00:00
..
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 - Do not handle the per-CPU containers in mbuf code as though the cpuids 2001-07-26 18:47:46 +00:00
mode.c
mode.h
netcmds.c
netstat.c
pigs.c
swap.c
systat.1 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
systat.h
tcp.c
vmstat.c