Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Mar 2005 21:16:46 +0000
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Alan Cox <alc@cs.rice.edu>
Cc:        current@FreeBSD.org
Subject:   Re: SIGABRT under load (tracked to vm_map_find() returning KERN_NO_SPACE)
Message-ID:  <20050308211646.GG30165@hub.freebsd.org>
In-Reply-To: <20050308202451.GC23301@cs.rice.edu>
References:  <20050308194832.GD30165@hub.freebsd.org> <20050308202451.GC23301@cs.rice.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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@alum.mit.edu>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050308211646.GG30165>