Date: Mon, 20 Aug 2007 12:05:45 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_map.c vm_map.h vm_mmap.c Message-ID: <200708201205.l7KC5jJr049700@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2007-08-20 12:05:45 UTC FreeBSD src repository Modified files: sys/vm vm_map.c vm_map.h vm_mmap.c Log: Do not drop vm_map lock between doing vm_map_remove() and vm_map_insert(). For this, introduce vm_map_fixed() that does that for MAP_FIXED case. Dropping the lock allowed for parallel thread to occupy the freed space. Reported by: Tijl Coosemans <tijl ulyssis org> Reviewed by: alc Approved by: re (kensmith) MFC after: 2 weeks Revision Changes Path 1.387 +35 -16 src/sys/vm/vm_map.c 1.120 +1 -0 src/sys/vm/vm_map.h 1.213 +4 -2 src/sys/vm/vm_mmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708201205.l7KC5jJr049700>