Date: Sat, 16 Mar 2002 19:19:31 -0800 (PST) From: Alan Cox <alc@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_glue.c vm_map.c Message-ID: <200203170319.g2H3JVT33808@freefall.freebsd.org>
index | next in thread | raw e-mail
alc 2002/03/16 19:19:31 PST
Modified files:
sys/vm vm_glue.c vm_map.c
Log:
Acquire a read lock on the map inside of vm_map_check_protection() rather
than expecting the caller to do so. This (1) eliminates duplicated code in
kernacc() and useracc() and (2) fixes missing synchronization in munmap().
Revision Changes Path
1.129 +1 -4 src/sys/vm/vm_glue.c
1.216 +6 -0 src/sys/vm/vm_map.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203170319.g2H3JVT33808>
