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>Received on Tue Mar 08 2005 - 20:16:46 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:29 UTC