DragonFly bugs List (threaded) for 2008-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: [issue911] panic on kldload
: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@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]