From owner-cvs-src@FreeBSD.ORG Fri Jul 30 20:26:25 2004 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 7F71416A4CE; Fri, 30 Jul 2004 20:26:25 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 609B043D5D; Fri, 30 Jul 2004 20:26:25 +0000 (GMT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6UKPCGk098488; Fri, 30 Jul 2004 20:25:12 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6UKPCT6098487; Fri, 30 Jul 2004 20:25:12 GMT (envelope-from alc) Message-Id: <200407302025.i6UKPCT6098487@repoman.freebsd.org> From: Alan Cox Date: Fri, 30 Jul 2004 20:25:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ia64/ia64 pmap.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: Fri, 30 Jul 2004 20:26:25 -0000 alc 2004-07-30 20:25:12 UTC FreeBSD src repository Modified files: sys/ia64/ia64 pmap.c Log: - Add pmap locking to ia64's pmap_enter() and pmap_enter_quick(). (This brings ia64 to parity with alpha, amd64, and i386 in this area.) - Prevent a race in pmap_find_pte(): If pmap_find_pte() sleeps in uma_zalloc(), another thread could allocate a pte at the same address. Instead, sleep at a higher level and retry the lookup before retrying the allocation. Reviewed and tested by: marcel@ Revision Changes Path 1.145 +31 -8 src/sys/ia64/ia64/pmap.c