[issue911] panic on kldload

Sepherosa Ziehau sepherosa at gmail.com
Thu Jan 10 17:42:53 PST 2008


On Jan 11, 2008 9:34 AM, Simon 'corecode' Schubert
<corecode at fs.ei.tum.de> wrote:
> Sepherosa Ziehau wrote:
> > I don't think it's the problem of our M_WAITOK implementation.  You
> > could change the caller to use other kmalloc flag so that the system
> > will not panic; how to properly handle kmalloc failure in this case
> > may be difficult.
>
> I realize this.  However, we should avoid panicing if possible.  So why
> not print a warning ("allocated more than the limit") and continue?  If

What do you mean by "continue" here?

Best Regards,
sephe

-- 
Live Free or Die





More information about the Bugs mailing list