From owner-freebsd-net Thu Jul 11 15:49:16 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D26637B400 for ; Thu, 11 Jul 2002 15:49:12 -0700 (PDT) Received: from smtp.uc3m.es (smtp03.uc3m.es [163.117.136.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CDA043E31 for ; Thu, 11 Jul 2002 15:49:11 -0700 (PDT) (envelope-from jrh@lab.it.uc3m.es) Received: from smtp03.uc3m.es (localhost [127.0.0.1]) by smtp.uc3m.es (Postfix) with ESMTP id 11A6E43149; Thu, 11 Jul 2002 23:49:12 +0200 (CEST) Received: from lmserv2.lab.it.uc3m.es (lmserv2.lab.it.uc3m.es [163.117.144.152]) by smtp03.uc3m.es (Postfix) with ESMTP id DD79499DE7; Thu, 11 Jul 2002 23:49:11 +0200 (CEST) Received: from lm005.lab.it.uc3m.es (root@lm005.lab.it.uc3m.es [163.117.144.134]) by lmserv2.lab.it.uc3m.es (8.9.3/8.9.3) with ESMTP id AAA21726; Fri, 12 Jul 2002 00:49:09 +0200 Received: from localhost (jrh@localhost) by lm005.lab.it.uc3m.es (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id AAA10914; Fri, 12 Jul 2002 00:49:09 +0200 Date: Fri, 12 Jul 2002 00:49:09 +0200 (CEST) From: Juan Francisco Rodriguez Hervella To: Bosko Milekic Cc: freebsd-net@FreeBSD.ORG Subject: Re: mbuf external buffer reference counters In-Reply-To: <20020711171510.A19053@unixdaemons.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ahhh, ok, I misunderstood the first mail :) Thanks. 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. > > > 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