DragonFly bugs List (threaded) for 2008-01
DragonFly BSD
DragonFly bugs List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: panic on kldload


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 10 Jan 2008 17:09:26 -0800 (PST)

:The limit is ~6MB, the linker consumes 8MB.  I just realized that we 
:have in struct malloc_type:
:
:         __uint16_t ks_limblocks; /* number of times blocked for hitting 
:limit */
:
:But we're never using this.
:
:cheers
:   simon

    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.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]