Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 1999 13:01:19 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Julian Elischer <julian@whistle.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: kernel malloc and M_CANWAIT 
Message-ID:  <199901182101.NAA18690@dingo.cdrom.com>
In-Reply-To: Your message of "Mon, 18 Jan 1999 12:49:31 PST." <Pine.BSF.3.95.990118124458.8525F-100000@current1.whistle.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > There was some talk about the fact that malloc(..M_CANWAIT)
> oops M_WAITOK..
> 
> > > can now return with a failure. Is that true?
> > 
> > Yes; it's necessary to do this to allow some chance of avoiding 
> > deadlock.
> 
> I can't find this in the archives.. can you remember 
> a keyword that would pull it up?

No; Matt's on the spot with his comment though, and it's trivial to 
understand why it needs to be able to fail to avoid deadlock.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



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



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