Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2007 20:52:20 GMT
From:      James Gritton <jamie@gritton.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/114139: mbuf(9) has misleading comments on M_DONTWAIT and M_TRYWAIT
Message-ID:  <200706292052.l5TKqKlE012388@www.freebsd.org>
Resent-Message-ID: <200706292100.l5TL0BlJ046573@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         114139
>Category:       docs
>Synopsis:       mbuf(9) has misleading comments on M_DONTWAIT and M_TRYWAIT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 29 21:00:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     James Gritton
>Release:        Current (7)
>Organization:
>Environment:
FreeBSD celeborn.e.gritton.org 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Fri Mar 16 23:11:05 MDT 2007     gritton@celeborn.e.gritton.org:/usr/src/sys/i386/compile/CELEBORN  i386

>Description:
The MGET section of mbuf(9) asserts that M_DONTWAIT shouldn't be confused with M_NOWAIT ("they are not the same").  In sys/mbuf.h, they are in fact the same, as M_DONTWAIT is merely defined as M_NOWAIT.

Also, M_TRYWAIT is said to wait for kern.ipc.mbuf_wait ticks, a tunable which apparently no longer exists (and really M_TRYWAIT is just M_WAITOK).
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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