Date: Sun, 9 Nov 2003 14:09:04 -0800 (PST) From: Alan Cox <alc@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_mmap.c Message-ID: <200311092209.hA9M94tN038382@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2003/11/09 14:09:04 PST FreeBSD src repository Modified files: sys/vm vm_map.c vm_mmap.c Log: - Remove Giant from msync(2). Giant is still acquired by the lower layers if we drop into the pmap or vnode layers. - Migrate the handling of zero-length msync(2)s into vm_map_sync() so that multithread applications can't change the map between implementing the zero-length hack in msync(2) and reacquiring the map lock in vm_map_sync(). Reviewed by: tegge Revision Changes Path 1.320 +10 -0 src/sys/vm/vm_map.c 1.170 +0 -27 src/sys/vm/vm_mmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311092209.hA9M94tN038382>