On 29-May-2002 Peter Wemm wrote:
> M_NOWAIT to the mbuf m_get*, malloc*, contigmalloc*, uma_* etc means
> "you must not tsleep!".  M_WAITOK conversely means that tsleep should be
> called as needed.  Things like malloc still can return NULL even with M_WAITOK
> for non-recoverable scenarios.

No, M_WAITOK won't return NULL, it will panic first. :)

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to