From owner-p4-projects@FreeBSD.ORG Sun Nov 26 12:47:36 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6984116A417; Sun, 26 Nov 2006 12:47:36 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3AA5E16A407 for ; Sun, 26 Nov 2006 12:47:36 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14B8B43D49 for ; Sun, 26 Nov 2006 12:46:42 +0000 (GMT) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kAQClZg1024346 for ; Sun, 26 Nov 2006 12:47:35 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kAQClZPY024338 for perforce@freebsd.org; Sun, 26 Nov 2006 12:47:35 GMT (envelope-from gonzo@FreeBSD.org) Date: Sun, 26 Nov 2006 12:47:35 GMT Message-Id: <200611261247.kAQClZPY024338@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Cc: Subject: PERFORCE change 110546 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Nov 2006 12:47:36 -0000 http://perforce.freebsd.org/chv.cgi?CH=110546 Change 110546 by gonzo@gonzo_hq on 2006/11/26 12:47:25 o Destroy pmap mutex in pmap_release. Affected files ... .. //depot/projects/mips2/src/sys/mips/mips/pmap.c#16 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/mips/pmap.c#16 (text+ko) ==== @@ -825,6 +825,9 @@ if (lev1pg/* && !pmap_release_free_page(pmap, lev1pg)*/) goto retry; + + PMAP_LOCK_DESTROY(kernel_pmap); + mtx_lock_spin(&allpmaps_lock); LIST_REMOVE(pmap, pm_list); mtx_unlock_spin(&allpmaps_lock);