Date: Wed, 04 Apr 2012 12:32:26 -0700 From: Julian Elischer <julian@freebsd.org> To: John Baldwin <jhb@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Gleb Smirnoff <glebius@freebsd.org>, src-committers@freebsd.org Subject: Re: svn commit: r233745 - head/sys/netinet/ipfw Message-ID: <4F7CA1CA.8070602@freebsd.org> In-Reply-To: <201204040757.42452.jhb@freebsd.org> References: <201203311120.q2VBKmJT099513@svn.freebsd.org> <4F7B8BF0.2000906@freebsd.org> <201204040757.42452.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/4/12 4:57 AM, John Baldwin wrote: > 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") > what happens if you call reboot while it is waiting for free space?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F7CA1CA.8070602>