SIGABRT under load (tracked to vm_map_find() returning KERN_NO_SPACE)

Kris Kennaway kris at FreeBSD.org
Tue Mar 8 13:16:46 PST 2005


On Tue, Mar 08, 2005 at 02:24:51PM -0600, Alan Cox wrote:
> Elsewhere, specifically kern_exec.c, we use kmem_alloc_wait() and
> kmem_free_wakeup() to allocate and deallocate exec_map space.  These
> functions allow for sleeping until virtual address space is
> available.  Try mechanically converting the vm_map_find() and
> vm_map_remove() calls in imgact_elf.c to kmem_alloc_wait() and
> kmem_free_wakeup().

I took a quick look but it looks like it'll take more time than I have
right now.  If someone else can whip up a patch I'll test it,
otherwise I'll get back to this later.

Kris

--
In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <forsythe at alum.mit.edu>


More information about the freebsd-current mailing list