> > Because you shouldn't panic unless there's no alternative. Panicking
> > on resource starvation is just totally lame.
>
> Ahem:
> uipc_mbuf.c: unmodified, readonly: line 268 of 945 [28%]
> panic("Out of mbuf clusters");
> uipc_mbuf.c: unmodified, readonly: line 296 of
On Mon, 18 Jan 1999, Mike Smith wrote:
> > > So malloc() will generally not return NULL even in low memory
> > > situations
> > > unless the KVM map fills up, which isn't supposed to happen but can in
> > > certain severe circumstances. Callers should therefore check for
> > > NULL.