1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/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 Display -tcp w/o load average so that all statistics fits on a 80x25 screen. 2001-05-31 07:14:52 +00:00
devs.c
devs.h
extern.h Mark error() as __printflike() and fix a non-exploitable format string 2001-05-25 23:15:05 +00:00
fetch.c Replace a use of the hw.nintr sysctl as it has just gone away, cast 2001-06-01 13:29:19 +00:00
icmp.c
iostat.c Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
ip.c Count and show incoming UDP datagrams with no checksum. 2001-03-13 13:26:06 +00:00
keyboard.c
main.c Fix the error buffer passed to kvm_openfiles to have a length of 2001-05-25 23:10:27 +00:00
Makefile Removed -I${.CURDIR}/.../sys from CFLAGS. 2001-05-18 13:41:42 +00:00
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 Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
netstat.c Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
pigs.c Compensate for header dethreading. 2001-05-01 08:46:02 +00:00
swap.c Mark error() as __printflike() and fix a non-exploitable format string 2001-05-25 23:15:05 +00:00
systat.1 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
systat.h Replace a use of the hw.nintr sysctl as it has just gone away, cast 2001-06-01 13:29:19 +00:00
tcp.c Display -tcp w/o load average so that all statistics fits on a 80x25 screen. 2001-05-31 07:14:52 +00:00
vmstat.c Replace a use of the hw.nintr sysctl as it has just gone away, cast 2001-06-01 13:29:19 +00:00