Date: Thu, 26 Jul 2001 11:47:47 -0700 (PDT) From: Bosko Milekic <bmilekic@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha mp_machdep.c src/sys/i386/i386 mp_machdep.c src/sys/ia64/ia64 mp_machdep.c src/sys/kern subr_mbuf.c src/sys/powerpc/powerpc mp_machdep.c src/sys/sys mbuf.h src/usr.bin/netstat mbuf.c src/usr.bin/systat mbufs.c Message-ID: <200107261847.f6QIllE07093@freefall.freebsd.org>
index | next in thread | raw e-mail
bmilekic 2001/07/26 11:47:47 PDT
Modified files:
sys/alpha/alpha mp_machdep.c
sys/i386/i386 mp_machdep.c
sys/ia64/ia64 mp_machdep.c
sys/kern subr_mbuf.c
sys/powerpc/powerpc mp_machdep.c
sys/sys mbuf.h
usr.bin/netstat mbuf.c
usr.bin/systat mbufs.c
Log:
- 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
Revision Changes Path
1.24 +7 -6 src/sys/alpha/alpha/mp_machdep.c
1.161 +7 -4 src/sys/i386/i386/mp_machdep.c
1.18 +2 -1 src/sys/ia64/ia64/mp_machdep.c
1.4 +24 -7 src/sys/kern/subr_mbuf.c
1.9 +2 -1 src/sys/powerpc/powerpc/mp_machdep.c
1.83 +2 -1 src/sys/sys/mbuf.h
1.27 +8 -12 src/usr.bin/netstat/mbuf.c
1.14 +6 -9 src/usr.bin/systat/mbufs.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107261847.f6QIllE07093>
