From owner-cvs-all Sat Mar 16 19:19:34 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BF7E737B416; Sat, 16 Mar 2002 19:19:31 -0800 (PST) Received: (from alc@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2H3JVT33808; Sat, 16 Mar 2002 19:19:31 -0800 (PST) (envelope-from alc) Message-Id: <200203170319.g2H3JVT33808@freefall.freebsd.org> From: Alan Cox Date: Sat, 16 Mar 2002 19:19:31 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_glue.c vm_map.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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