Date: Sun, 12 Jan 2014 19:22:47 -0800 From: Rui Paulo <rpaulo@FreeBSD.org> To: Venkata Duvvuru <VenkatKumar.Duvvuru@Emulex.Com> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: Mbuf reference count Message-ID: <B8CDA719-350D-4B8A-9FC9-60876D56F997@FreeBSD.org> In-Reply-To: <BF3270C86E8B1349A26C34E4EC1C44CB2C819B1D@CMEXMB1.ad.emulex.com> References: <BF3270C86E8B1349A26C34E4EC1C44CB2C819B1D@CMEXMB1.ad.emulex.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2 Jan 2014, at 06:26, Venkata Duvvuru = <VenkatKumar.Duvvuru@Emulex.Com> wrote: > Hi, > Is there a way to increase the reference count of mbuf? I see there is = a ref count for external storage (m_ext) but couldn't find one for = !M_EXT case. The idea was to reference count the mbufs with external storage so that = m_copym() would avoid copying. Why do you need to reference count an = mbuf? mbufs are usually short lived and I haven't encountered any = situation yet where reference counting an mbuf would help. -- Rui Paulo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B8CDA719-350D-4B8A-9FC9-60876D56F997>