Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2012 12:45:54 +0000 (UTC)
From:      Andre Oppermann <andre@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r243223 - user/andre/tcp_workqueue/sys/sys
Message-ID:  <201211181245.qAICjsSg026471@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andre
Date: Sun Nov 18 12:45:53 2012
New Revision: 243223
URL: http://svnweb.freebsd.org/changeset/base/243223

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

Modified:
  user/andre/tcp_workqueue/sys/sys/mbuf.h

Modified: user/andre/tcp_workqueue/sys/sys/mbuf.h
==============================================================================
--- user/andre/tcp_workqueue/sys/sys/mbuf.h	Sun Nov 18 12:41:35 2012	(r243222)
+++ user/andre/tcp_workqueue/sys/sys/mbuf.h	Sun Nov 18 12:45:53 2012	(r243223)
@@ -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?201211181245.qAICjsSg026471>