From owner-cvs-src@FreeBSD.ORG Wed Nov 19 10:48:47 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37E8616A4CE; Wed, 19 Nov 2003 10:48:47 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A088943F85; Wed, 19 Nov 2003 10:48:46 -0800 (PST) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJImkXJ075288; Wed, 19 Nov 2003 10:48:46 -0800 (PST) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJImkeV075278; Wed, 19 Nov 2003 10:48:46 -0800 (PST) (envelope-from alc) Message-Id: <200311191848.hAJImkeV075278@repoman.freebsd.org> From: Alan Cox Date: Wed, 19 Nov 2003 10:48:46 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/vm vm_map.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 18:48:47 -0000 alc 2003/11/19 10:48:46 PST FreeBSD src repository Modified files: sys/vm vm_map.c Log: - Avoid a lock-order reversal between Giant and a system map mutex that occurs when kmem_malloc() fails to allocate a sufficient number of vm pages. Specifically, we avoid the lock-order reversal by not grabbing Giant around pmap_remove() if the map is the kmem_map. Approved by: re (jhb) Reported by: Eugene Revision Changes Path 1.323 +4 -2 src/sys/vm/vm_map.c