mbuf usage for an idle machine
Garrett Wollman
wollman at khavrinen.lcs.mit.edu
Wed Aug 27 09:53:15 PDT 2003
<<On Wed, 27 Aug 2003 11:43:03 -0400 (EDT), Robert Watson <rwatson at freebsd.org> said:
> There are a number of situations in which the mbuf allocator is used to
> allocate non-mbufs -- for example, we use mbufs to hold IP fragment
> queues, as well as some static packet prototype mbufs, socket options,
> etc.
You're a few years out of date on that one. Socket options should not
be held in mbufs (unless something is broken at the protocol level).
I made a sweep a few years back and managed to eliminate most misues
of mbufs in the network stack.
-GAWollman
More information about the freebsd-net
mailing list