Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2013 18:51:21 +0000 (UTC)
From:      Andre Oppermann <andre@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r252823 - stable/9/sys/sys
Message-ID:  <201307051851.r65IpLcn038732@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andre
Date: Fri Jul  5 18:51:21 2013
New Revision: 252823
URL: http://svnweb.freebsd.org/changeset/base/252823

Log:
  MFC r243628:
  
    Update comment to prefer M_NOWAIT over M_DONTWAIT and
    M_WAITOK over M_WAIT.

Modified:
  stable/9/sys/sys/mbuf.h
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/sys/   (props changed)

Modified: stable/9/sys/sys/mbuf.h
==============================================================================
--- stable/9/sys/sys/mbuf.h	Fri Jul  5 18:50:17 2013	(r252822)
+++ stable/9/sys/sys/mbuf.h	Fri Jul  5 18:51:21 2013	(r252823)
@@ -350,8 +350,8 @@ struct mbstat {
  * Flags specifying how an allocation should be made.
  *
  * The flag to use is as follows:
- * - M_DONTWAIT or M_NOWAIT from an interrupt handler to not block allocation.
- * - M_WAIT or M_WAITOK from wherever it is safe to block.
+ * - M_NOWAIT (M_DONTWAIT) from an interrupt handler to not block allocation.
+ * - M_WAITOK (M_WAIT) from wherever it is safe to block.
  *
  * M_DONTWAIT/M_NOWAIT means that we will not block the thread explicitly and
  * if we cannot allocate immediately we may return NULL, whereas



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