panic on kldload

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Thu Jan 10 17:13:49 PST 2008


Matthew Dillon wrote:
    It'l probably never be used.  There is no callback facility for 
    recovering kmalloc'd memory.  And, particularly for the linker,
    there wouldn't be anything to free anyway so it would just
    deadlock.
Well, yea, but I'd rather have a blocking kldload than a panic'ed 
system.  There are probably more such places.  Actually I think this 
limit business is stupid.  Rather than panicing, we could print a 
warning and go on.  The worst thing could be that we'll panic lateron 
because we don't have free memory anymore.

cheers
  simon




More information about the Bugs mailing list