DragonFly bugs List (threaded) for 2005-05
Re: trouble generating a core file
On Mon, May 09, 2005 at 01:37:07PM -0700, Matthew Dillon wrote:
> It looks like the vm_contig_pg_kmap() call failed and it paniced
> trying to free the page list.
> generally speaking a kmap will only fail if the kernel has run out
> of KVM, which means that it is likely a memory leak in the driver
> (e.g. it could be missing some busdma calls or might not be freeing
> busdma'd memory properly).
understood. in this case, the application is purposely trying to
exhaust KVM, but was expecting an error from the driver and not an OS
> This patch should fix the panic, but it is likely something else
> will go poof due to the memory leak.
yup, this does fix the panic. thanks for the fix!