Subject: Re: m_get(), MGET(), and MGETHDR() with M_WAIT
To: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: tech-kern
Date: 06/05/1996 22:49:02
> > It appears that it can, given that kmem_malloc() in vm_kern.c can.
>
> no, malloc(... M_WAIT) _cannot_ return NULL. Like i noted, that's the
> current implementation, and i'm not as much concerned about that as I
> am about what the code using m_get(... M_WAIT ...) _should_ be doing.
Agreed. In addition to `this should be fixed' I actually intended to write
`and shouldn't alter our 'well-documented' definitions'..
-pk