[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-bugs
Subject:    Re: [issue911] panic on kldload
From:       Matthew Dillon <dillon () apollo ! backplane ! com>
Date:       2008-01-11 4:40:20
Message-ID: 200801110440.m0B4eKIR065442 () apollo ! backplane ! com
[Download RAW message or body]


: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>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic