Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 15:47:41 -0500
From:      Alfred Perlstein <bright@mu.org>
To:        Bosko Milekic <bmilekic@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, mjacob@freebsd.org
Subject:   Re: 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:  <20010726154741.I26571@elvis.mu.org>
In-Reply-To: <200107261847.f6QIllE07093@freefall.freebsd.org>; from bmilekic@FreeBSD.org on Thu, Jul 26, 2001 at 11:47:47AM -0700
References:  <200107261847.f6QIllE07093@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Bosko Milekic <bmilekic@FreeBSD.org> [010726 13:47] wrote:
> 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

Yay for making the mbuf subsystem the only thing that can do per-cpu
pools!

Can you guys please export this stuff so that other subsystems can
use it?

thanks,
-- 
-Alfred Perlstein [alfred@freebsd.org]
Ok, who wrote this damn function called '??'?
And why do my programs keep crashing in it?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010726154741.I26571>