From owner-cvs-all Sat May 11 22:23: 0 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 01BDB37B401; Sat, 11 May 2002 22:22:57 -0700 (PDT) Received: (from alc@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4C5MuT15937; Sat, 11 May 2002 22:22:56 -0700 (PDT) (envelope-from alc) Message-Id: <200205120522.g4C5MuT15937@freefall.freebsd.org> From: Alan Cox Date: Sat, 11 May 2002 22:22:56 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_map.c vm_object.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/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