Date: Sun, 8 Feb 2009 20:39:17 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/vm vm_kern.c vm_map.c vm_map.h vm_mmap.c vm_unix.c Message-ID: <200902082039.n18KdM2V023497@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2009-02-08 20:39:17 UTC FreeBSD src repository Modified files: sys/vm vm_kern.c vm_map.c vm_map.h vm_mmap.c vm_unix.c Log: SVN rev 188334 on 2009-02-08 20:39:17Z by kib Do not call vm_object_deallocate() from vm_map_delete(), because we hold the map lock there, and might need the vnode lock for OBJT_VNODE objects. Postpone object deallocation until caller of vm_map_delete() drops the map lock. Link the map entries to be freed into the freelist, that is released by the new helper function vm_map_entry_free_freelist(). Reviewed by: tegge, alc Tested by: pho Revision Changes Path 1.137 +9 -3 src/sys/vm/vm_kern.c 1.407 +32 -8 src/sys/vm/vm_map.c 1.127 +3 -1 src/sys/vm/vm_map.h 1.227 +4 -1 src/sys/vm/vm_mmap.c 1.47 +4 -1 src/sys/vm/vm_unix.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902082039.n18KdM2V023497>