[issue911] panic on kldload
Matthew Dillon
dillon at apollo.backplane.com
Thu Jan 10 20:41:46 PST 2008
:Just allocate some memory, even if you're over the limit. It's not that
:we ran out of memory, it's just that we went over the (artificial) limit.
:
:cheers
: simon
That seems reasonable insofar as M_LINKER goes. How about this: Add a
new malloc flag which tells it to ignore the administrative limit.
Instead of panicing malloc() would generate a rate-limited warning to
the console but continue with the allocation.
In most cases hitting the administrative resource limit should be fatal,
but clearly not in the M_LINKER case. A flag would be appropriate.
-Matt
Matthew Dillon
<dillon at backplane.com>
More information about the Bugs
mailing list