svn commit: r276750 - in head: share/man/man9 sys/contrib/ipfilter/netinet sys/dev/an sys/dev/bge sys/dev/ce sys/dev/cm sys/dev/cp sys/dev/cs sys/dev/ctau sys/dev/ed sys/dev/ex sys/dev/fe sys/dev/h...
John-Mark Gurney
jmg at funkthat.com
Wed Jan 7 17:44:39 UTC 2015
Robert Watson wrote this message on Tue, Jan 06, 2015 at 12:59 +0000:
> Author: rwatson
> Date: Tue Jan 6 12:59:37 2015
> New Revision: 276750
> URL: https://svnweb.freebsd.org/changeset/base/276750
>
> Log:
> In order to reduce use of M_EXT outside of the mbuf allocator and
> socket-buffer implementations, introduce a return value for MCLGET()
> (and m_cljget() that underlies it) to allow the caller to avoid testing
> M_EXT itself. Update all callers to use the return value.
>
> With this change, very few network device drivers remain aware of
> M_EXT; the primary exceptions lie in mbuf-chain pretty printers for
> debugging, and in a few cases, custom mbuf and cluster allocation
> implementations.
>
> NB: This is a difficult-to-test change as it touches many drivers for
> which I don't have physical devices. Instead we've gone for intensive
> review, but further post-commit review would definitely be appreciated
> to spot errors where changes could not easily be made mechanically,
> but were largely mechanical in nature.
Shouldn't this come w/ a FreeBSD version bump for drivers to use?
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the svn-src-head
mailing list