Date: Fri, 07 Feb 2014 08:08:33 -0800 From: Alfred Perlstein <bright@mu.org> To: freebsd-arch@freebsd.org Subject: Re: mbuf and uio Message-ID: <52F50501.8080708@mu.org> In-Reply-To: <CAKoxK%2B6JpQT9F_2Vt8Zxk1A4ajYx3D-j2G5qdeXsA4Lg3YJC8g@mail.gmail.com> References: <CAKoxK%2B6JpQT9F_2Vt8Zxk1A4ajYx3D-j2G5qdeXsA4Lg3YJC8g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52F50501.8080708>