From owner-cvs-src-old@FreeBSD.ORG Sat Mar 20 14:35:49 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A19E41065670 for ; Sat, 20 Mar 2010 14:35:49 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8E7D78FC1B for ; Sat, 20 Mar 2010 14:35:49 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o2KEZnSp022138 for ; Sat, 20 Mar 2010 14:35:49 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o2KEZnao022137 for cvs-src-old@freebsd.org; Sat, 20 Mar 2010 14:35:49 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Message-Id: <201003201435.o2KEZnao022137@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to nwhitehorn@repoman.freebsd.org using -f From: Nathan Whitehorn Date: Sat, 20 Mar 2010 14:35:24 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/powerpc/aim mmu_oea64.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2010 14:35:49 -0000 nwhitehorn 2010-03-20 14:35:24 UTC FreeBSD src repository Modified files: sys/powerpc/aim mmu_oea64.c Log: SVN rev 205370 on 2010-03-20 14:35:24Z by nwhitehorn Revisit locking in the 64-bit AIM PMAP. The PVO head for a page is generally protected by the VM page queue mutex. Instead of extending the table lock to cover the PVO heads, add some asserts that the page queue mutex is in fact held. This fixes several LORs and possible deadlocks. This also adds an optimization to moea64_kextract() useful for direct-mapped quantities, like UMA buffers. Being able to use this from inside UMA removes an additional LOR. Revision Changes Path 1.21 +20 -16 src/sys/powerpc/aim/mmu_oea64.c