mbuf and uio
Alfred Perlstein
bright at mu.org
Fri Feb 7 16:08:34 UTC 2014
On 2/7/14 4:51 AM, Luca Ferrari wrote:
> Hi all,
> I'm just wondering why mbufs seems to be much more important from an
> administrator point of view than uio. I mean, both structures are used
> to move data thru a stack (network or i/o), but the mbufs get
> accounted by serveral tools (like netstat and so on) while uio does
> not.
> Am I totally wrong on this?
uios are transient structures that can be allocated on the stack at any
time. In general you'll have at most 1 uio per process/thread active.
tracking them would not really gain us much.
--
Alfred Perlstein
More information about the freebsd-arch
mailing list