Remove notes about historical mbuf(9) allocator flags from documentation.
Sponsored by: Nginx, Inc.
This commit is contained in:
parent
d978bbea8a
commit
ba82ceef53
@ -29,7 +29,7 @@
|
||||
.\" $NetBSD: malloc.9,v 1.3 1996/11/11 00:05:11 lukem Exp $
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd November 15, 2012
|
||||
.Dd January 16, 2014
|
||||
.Dt MALLOC 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -214,17 +214,6 @@ of two for requests up to the size of a page of memory.
|
||||
For larger requests, one or more pages is allocated.
|
||||
While it should not be relied upon, this information may be useful for
|
||||
optimizing the efficiency of memory use.
|
||||
.Pp
|
||||
Programmers should be careful not to confuse the malloc flags
|
||||
.Dv M_NOWAIT
|
||||
and
|
||||
.Dv M_WAITOK
|
||||
with the
|
||||
.Xr mbuf 9
|
||||
flags
|
||||
.Dv M_DONTWAIT
|
||||
and
|
||||
.Dv M_WAIT .
|
||||
.Sh CONTEXT
|
||||
.Fn malloc ,
|
||||
.Fn realloc
|
||||
|
@ -24,7 +24,7 @@
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd December 20, 2013
|
||||
.Dd January 16, 2014
|
||||
.Dt MBUF 9
|
||||
.Os
|
||||
.\"
|
||||
@ -381,17 +381,6 @@ A number of other functions and macros related to
|
||||
have the same argument because they may
|
||||
at some point need to allocate new
|
||||
.Vt mbufs .
|
||||
.Pp
|
||||
Historical
|
||||
.Vt mbuf
|
||||
allocator (See
|
||||
.Sx HISTORY
|
||||
section) used allocation flags
|
||||
.Dv M_WAIT
|
||||
and
|
||||
.Dv M_DONTWAIT .
|
||||
These constants are kept for compatibility
|
||||
and their use in new code is discouraged.
|
||||
.It Fn MGETHDR mbuf how type
|
||||
Allocate an
|
||||
.Vt mbuf
|
||||
|
Loading…
Reference in New Issue
Block a user