In article <local.mail.freebsd-net/[EMAIL PROTECTED]> you write: > >On Sat, Jun 29, 2002 at 03:46:31PM -0700, Jeffrey Hsu wrote: >> So, what you want is something like a >> MGETHCL(m, how, type) >> MHCLFREE(m) >> interface which first looks in a combined freelist before the individual >> mbuf and cluster freelists. I think it's a good idea. > > I would prefer to see an interface that just grabs both a cluster and > an mbuf from their respective per-CPU caches (in -CURRENT) while only > grabbing the lock once, if at all this is that important to you. [*]
I'd agree with bosko. I don't think that a per-softc pool of mbuf+clusters is the way to go, this should be the function of the uma allocator. I'm agnostic as to whether a preconstructed mbuf+cluster pool is a useful construct or not. -- Jonathan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message