Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2002 16:11:23 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Bosko Milekic <bmilekic@unixdaemons.com>
Cc:        Juan Francisco Rodriguez Hervella <jrh@lab.it.uc3m.es>, freebsd-net@FreeBSD.ORG
Subject:   Re: mbuf external buffer reference counters
Message-ID:  <Pine.BSF.4.21.0207111610560.47612-100000@InterJet.elischer.org>
In-Reply-To: <20020711171510.A19053@unixdaemons.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 11 Jul 2002, Bosko Milekic wrote:

> 
> 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.

except if you are trying to use 0 copy semantics.

> 
> > 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
> 


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?Pine.BSF.4.21.0207111610560.47612-100000>