Date: Thu, 11 Jul 2002 17:15:10 -0400 From: Bosko Milekic <bmilekic@unixdaemons.com> To: Juan Francisco Rodriguez Hervella <jrh@lab.it.uc3m.es> Cc: freebsd-net@FreeBSD.ORG Subject: Re: mbuf external buffer reference counters Message-ID: <20020711171510.A19053@unixdaemons.com> In-Reply-To: <Pine.LNX.3.96.1020711225805.22207A-100000@lm011.lab.it.uc3m.es>; from jrh@lab.it.uc3m.es on Thu, Jul 11, 2002 at 11:00:56PM %2B0200 References: <20020711133802.A31827@iguana.icir.org> <Pine.LNX.3.96.1020711225805.22207A-100000@lm011.lab.it.uc3m.es>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 11, 2002 at 11:00:56PM +0200, Juan Francisco Rodriguez Hervella wrote: > First of all, let me say that Im newbie with these topics, > I only know a bit about mbufs, but I dont understand how > can an application trim away the refcount if the size is > MCLBYTES = 2040 - sizeof(refcount). > > Don't this limit the room which an app. can write ? No. It just changes it. Also, it's not the application trimming away anything, and the size is not 2040, it's 2048. :-) FWIW, the application has no idea about mbufs or clusters. These are buffers and structures only the kernel knows about. > Thanks. > > JFRH -- Bosko Milekic bmilekic@unixdaemons.com bmilekic@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020711171510.A19053>