> Would someone PLEASE tell us all if malloc can really return NULL now with > flags & M_WAITOK? I've gotten contradictory answers...
I went back and looked at the code again. It looks like M_WAITOK will either return non-NULL or panic; it shouldn't be capable of returning NULL. Ideally, it shouldn't panic either (why is it only that M_WAITOK can panic, and M_NOWAIT can't?). -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ [email protected] \\ The race is long, and in the \\ [email protected] \\ end it's only with yourself. \\ [email protected] To Unsubscribe: send mail to [email protected] with "unsubscribe freebsd-current" in the body of the message
