Index: share/man/man9/mbuf.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/mbuf.9,v retrieving revision 1.27 diff -u -r1.27 mbuf.9 --- share/man/man9/mbuf.9 21 May 2003 15:49:01 -0000 1.27 +++ share/man/man9/mbuf.9 31 May 2003 13:25:49 -0000 @@ -1,4 +1,4 @@ -.\" Copyright (c) 2000 FreeBSD Inc. +.\" Copyright (c) 2000, 2003 FreeBSD Project .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without @@ -60,7 +60,6 @@ .Fn mtod "struct mbuf *mbuf" "type" .Ft int .Fn MEXT_IS_REF "struct mbuf *mbuf" -.Fn M_COPY_PKTHDR "struct mbuf *to" "struct mbuf *from" .Fn M_ALIGN "struct mbuf *mbuf" "u_int len" .Fn MH_ALIGN "struct mbuf *mbuf" "u_int len" .Ft int @@ -124,7 +123,7 @@ An mbuf is a basic unit of memory management in the kernel IPC subsystem. Network packets and socket buffers are stored in mbufs. A network packet may span multiple mbufs arranged into a chain -(linked list), +.Pq linked list , which allows adding or trimming network headers with little overhead. .Pp @@ -137,7 +136,7 @@ The mbuf's total size, .Dv MSIZE , is a machine-dependent constant defined in -.Pa machine/param.h . +.Aq Pa machine/param.h . The mbuf header includes: .Pp .Bl -tag -width "m_nextpkt" -compact -offset indent @@ -549,13 +548,20 @@ .Sh RETURN VALUES See above. .Sh HISTORY -.\" Please correct me if I'm wrong -Mbufs appeared in an early version of -.Bx . -Besides for being used for network packets, they were used -to store various dynamic structures, such as routing table -entries, interface addresses, protocol control blocks, etc. -.Sh AUTHORS The original .Nm -man page was written by Yar Tikhiy. +data structures were designed by Rob Gurwitz when he did the +initial TCP/IP implementation at BBN. +Further extensions and enhancements were made by Bill Joy, +Sam Leffler and Mike Karels at CSRG for 4.3BSD. +.Pp +The +.Nm +allocator in +.Fx 5.0 +was re-written by Bosko Milekic to provide better +performance on Symmetric Multi-Processor (SMP) systems +and to handle starvation situations efficiently. +.Sh AUTHORS +This man page was written by +.An Yar Tikhiy Aq yar@FreeBSD.ORG .