svn commit: r252823 - stable/9/sys/sys
Andre Oppermann
andre at FreeBSD.org
Fri Jul 5 18:51:21 UTC 2013
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
More information about the svn-src-stable-9
mailing list