cvs commit: src/sys/vm vm_map.c vm_map.h vm_mmap.c
Konstantin Belousov
kib at FreeBSD.org
Mon Aug 20 05:05:46 PDT 2007
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
More information about the cvs-src
mailing list