diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-02-15 14:44:46 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-02-15 14:44:46 +0000 |
commit | 5b953c01a14ffd21d7a5606f79164ebc5d9df708 (patch) | |
tree | 5c212656e52011ab9a04eaf9c92f1d8c7b807f96 | |
parent | 39ed0e3e6d47526fcdce595424fabe4fa24a10bf (diff) | |
download | FreeBSD-src-5b953c01a14ffd21d7a5606f79164ebc5d9df708.zip FreeBSD-src-5b953c01a14ffd21d7a5606f79164ebc5d9df708.tar.gz |
Expand history and authors section of mbuf.9 man page to discuss recent
transition to mbuma (FreeBSD 5.3) and the fact that mbufs are now limited
almost entirely to packet storage, with straight UMA zones being used for
most other network data types.
-rw-r--r-- | share/man/man9/mbuf.9 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index dc98b02..0bb9317 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -1122,7 +1122,35 @@ appeared in an early version of Besides being used for network packets, they were used to store various dynamic structures, such as routing table entries, interface addresses, protocol control blocks, etc. +In more recent +.Fx +use of +.Vt mbufs +is almost entirely limited to packet storage, with +.Xr uma 9 +zones being used directly to store other network-related memory. +.Pp +Historically, the +.Vt mbuf +allocator has been a special-purpose memory allocator able to run in +interrupt contexts and allocating from a special kernel address space map. +As of +.Fx 5.3 , +the +.Vt mbuf +allocator is a wrapper around +.Xr uma 9 , +allowing caching of +.Vt mbufs , +clusters, and +.Vt mbuf ++ cluster pairs in per-CPU caches, as well as bringing other benefits of +slab allocation. .Sh AUTHORS The original .Nm manual page was written by Yar Tikhiy. +The +.Xr uma 9 +.Vt mbuf +allocator was written by Bosko Milekic. |