Date: Sat, 14 Jul 2001 16:17:13 -0700 (PDT) From: Matthew Jacob <mjacob@feral.com> To: John Baldwin <jhb@FreeBSD.ORG> Cc: Alfred Perlstein <bright@sneakerz.org>, <audit@FreeBSD.ORG>, <smp@FreeBSD.ORG> Subject: Re: planned change to mbinit code and minor changes to mp startu Message-ID: <20010714161650.K29535-100000@wonky.feral.com> In-Reply-To: <XFMail.010714160050.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> >> /* > > > > This should be in some file where other "per cpu" systems can get at it, > > duplicating it everywhere is gross. (for instance, my cpu affinity > > patches). > > Agreed. sys/pcpu.h is one possibility. > > > Also, since it looks like this would break if we suddently started > > up another CPU I really don't agree with not populating the pools > > if 'CPU_ABSENT(i)'. > > Well, I think what we will want in that case is to have the equivalent of cpu > attach/detach routines that also have a list of handlers that other subsystems > can register to be called when a CPU is added/removed. For example, the mbuf > system would add handlers to allocate and teardown the per-CPU counters. > yes, that's probably right. What shall we do for the short term? -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010714161650.K29535-100000>