Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2014 13:58:55 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r260720 - head/share/man/man9
Message-ID:  <201401161358.s0GDwtIH020749@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Thu Jan 16 13:58:55 2014
New Revision: 260720
URL: http://svnweb.freebsd.org/changeset/base/260720

Log:
  Remove notes about historical mbuf(9) allocator flags from documentation.
  
  Sponsored by:	Nginx, Inc.

Modified:
  head/share/man/man9/malloc.9
  head/share/man/man9/mbuf.9

Modified: head/share/man/man9/malloc.9
==============================================================================
--- head/share/man/man9/malloc.9	Thu Jan 16 13:45:41 2014	(r260719)
+++ head/share/man/man9/malloc.9	Thu Jan 16 13:58:55 2014	(r260720)
@@ -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 
 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

Modified: head/share/man/man9/mbuf.9
==============================================================================
--- head/share/man/man9/mbuf.9	Thu Jan 16 13:45:41 2014	(r260719)
+++ head/share/man/man9/mbuf.9	Thu Jan 16 13:58:55 2014	(r260720)
@@ -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 r
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401161358.s0GDwtIH020749>