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

next in thread | previous in thread | raw e-mail | index | archive | help
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().

Alan
 



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