Date: Sat, 11 May 2002 22:22:56 -0700 (PDT) From: Alan Cox <alc@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_map.c vm_object.c Message-ID: <200205120522.g4C5MuT15937@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2002/05/11 22:22:56 PDT
Modified files:
sys/vm vm_map.c vm_object.c
Log:
o Acquire and release Giant in vm_object_reference() and
vm_object_deallocate(), replacing the assertion GIANT_REQUIRED.
o Remove GIANT_REQUIRED from vm_map_protect() and vm_map_simplify_entry().
o Acquire and release Giant around vm_map_protect()'s call to pmap_protect().
Altogether, these changes eliminate the need for mprotect() to acquire
and release Giant.
Revision Changes Path
1.233 +2 -3 src/sys/vm/vm_map.c
1.212 +7 -8 src/sys/vm/vm_object.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205120522.g4C5MuT15937>
