From owner-cvs-src-old@FreeBSD.ORG Wed Jan 5 11:29:27 2011 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 CF48B1065886 for ; Wed, 5 Jan 2011 11:29:27 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BD6598FC12 for ; Wed, 5 Jan 2011 11:29:27 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p05BTRqV096803 for ; Wed, 5 Jan 2011 11:29:27 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p05BTRs1096802 for cvs-src-old@freebsd.org; Wed, 5 Jan 2011 11:29:27 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201101051129.p05BTRs1096802@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Wed, 5 Jan 2011 11:29:07 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/sparc64/sparc64 tlb.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: Wed, 05 Jan 2011 11:29:27 -0000 marius 2011-01-05 11:29:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/sparc64/sparc64 tlb.c Log: SVN rev 216989 on 2011-01-05 11:29:07Z by marius MFC: r216891 Extend the section in which interrupts are disabled in the TLB demap functions, otherwise if we get preempted after checking whether a certain pmap is active on the current CPU but before disabling interrupts we might operate on an outdated state as the pmap might have been deactivated in the meantime. As the same issue may arises when the TLB demap function is interrupted by a TLB demap IPI, just entering a critical section before the check isn't sufficient so we have to fully disable interrupts instead. Revision Changes Path 1.11.2.2 +6 -6 src/sys/sparc64/sparc64/tlb.c