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.
This commit is contained in:
parent
8c67c5a3f4
commit
db430f9709
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166751
@ -1122,7 +1122,35 @@ appeared in an early version of
|
|||||||
Besides being used for network packets, they were used
|
Besides being used for network packets, they were used
|
||||||
to store various dynamic structures, such as routing table
|
to store various dynamic structures, such as routing table
|
||||||
entries, interface addresses, protocol control blocks, etc.
|
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
|
.Sh AUTHORS
|
||||||
The original
|
The original
|
||||||
.Nm
|
.Nm
|
||||||
manual page was written by Yar Tikhiy.
|
manual page was written by Yar Tikhiy.
|
||||||
|
The
|
||||||
|
.Xr uma 9
|
||||||
|
.Vt mbuf
|
||||||
|
allocator was written by Bosko Milekic.
|
||||||
|
Loading…
Reference in New Issue
Block a user