panic on kldload

Matthew Dillon dillon at apollo.backplane.com
Thu Jan 10 17:09:59 PST 2008


: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 at backplane.com>





More information about the Bugs mailing list