Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 16:07:14 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: m_getcl and end-to-end performance
Message-ID:  <15714.41330.135614.44197@grasshopper.cs.duke.edu>
In-Reply-To: <Pine.BSF.4.21.0208201254060.52191-100000@InterJet.elischer.org>
References:  <15714.40341.115512.786712@grasshopper.cs.duke.edu> <Pine.BSF.4.21.0208201254060.52191-100000@InterJet.elischer.org>

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

Julian Elischer writes:
 > > Yes, it checks that M_EXT_WRITABLE(m) is true before adding it to the pool.
 > 
 > Are only Cluster mbufs writable?

Yes.  At least in -stable:

#define M_EXT_WRITABLE(m)       \
    ((m)->m_ext.ext_free == NULL && mclrefcnt[mtocl((m)->m_ext.ext_buf)] == 1)


Drew

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