Date: Sat, 18 Sep 2010 15:03:31 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sys proc.h src/sys/vm vm_map.c vm_map.h Message-ID: <201009181504.o8IF43cT009988@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2010-09-18 15:03:31 UTC FreeBSD src repository Modified files: sys/sys proc.h sys/vm vm_map.c vm_map.h Log: SVN rev 212824 on 2010-09-18 15:03:31Z by kib Adopt the deferring of object deallocation for the deleted map entries on map unlock to the lock downgrade and later read unlock operation. System map entries cannot be backed by OBJT_VNODE objects, no need to defer deallocation for them. Map entries from user maps do not require the owner map for deallocation, and can be accumulated in the thread-local list for freeing when a user map is unlocked. Move the collection of entries for deferred reclamation into vm_map_delete(). Create helper vm_map_process_deferred(), that is called from locations where processing is feasible. Do not process deferred entries in vm_map_unlock_and_wait() since map_sleep_mtx is held. Reviewed by: alc, rstone (previous versions) Tested by: pho MFC after: 2 weeks Revision Changes Path 1.556 +1 -0 src/sys/sys/proc.h 1.432 +45 -20 src/sys/vm/vm_map.c 1.135 +3 -1 src/sys/vm/vm_map.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009181504.o8IF43cT009988>