From owner-freebsd-doc@FreeBSD.ORG Fri Jun 29 21:00:12 2007 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 74F3516A41F for ; Fri, 29 Jun 2007 21:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 3885013C4B8 for ; Fri, 29 Jun 2007 21:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5TL0Cgr046574 for ; Fri, 29 Jun 2007 21:00:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5TL0BlJ046573; Fri, 29 Jun 2007 21:00:11 GMT (envelope-from gnats) Resent-Date: Fri, 29 Jun 2007 21:00:11 GMT Resent-Message-Id: <200706292100.l5TL0BlJ046573@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, James Gritton Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C537D16A46D for ; Fri, 29 Jun 2007 20:52:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id B4FE013C45B for ; Fri, 29 Jun 2007 20:52:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l5TKqKZi012391 for ; Fri, 29 Jun 2007 20:52:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l5TKqKlE012388; Fri, 29 Jun 2007 20:52:20 GMT (envelope-from nobody) Message-Id: <200706292052.l5TKqKlE012388@www.freebsd.org> Date: Fri, 29 Jun 2007 20:52:20 GMT From: James Gritton To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: docs/114139: mbuf(9) has misleading comments on M_DONTWAIT and M_TRYWAIT X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 21:00:12 -0000 >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: