Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2002 19:33:00 -0700 (PDT)
From:      Archie Cobbs <archie@dellroad.org>
To:        Fabien THOMAS <fabien.thomas@wanadoo.fr>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: asr driver & INVARIANT & M_WAITOK
Message-ID:  <200205200233.g4K2X0c50851@arch20m.dellroad.org>
In-Reply-To: <23228752.20020519133644@wanadoo.fr> "from Fabien THOMAS at May 19, 2002 01:36:44 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Fabien THOMAS writes:
> the kernel crash with M_WAITOK in INVARIANT mode.
> it seems that M_WAITOK is the problems is it possible to replace with
> M_DONTWAIT ?

Yes, as long as you check for a NULL return value (not normally
possible with M_WAITOK).

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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