svn commit: r233745 - head/sys/netinet/ipfw

John Baldwin jhb at freebsd.org
Wed Apr 4 12:13:48 UTC 2012


On Tuesday, April 03, 2012 7:46:56 pm Julian Elischer wrote:
> On 3/31/12 4:20 AM, Gleb Smirnoff wrote:
> 
> 
> Many years ago there was the possibility that malloc M_WAITOK could
> return on shutdown or in some other rare error cases.
> 
> Are we certain this is no longer true?

That hasn't been true in a long while.  In edge cases malloc() with M_WAITOK 
will just panic rather than return NULL.  (e.g. "kmem too small")

-- 
John Baldwin


More information about the svn-src-all mailing list