From owner-cvs-src-old@FreeBSD.ORG Wed Jan 5 13:40:51 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 62D77106564A for ; Wed, 5 Jan 2011 13:40:51 +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 512228FC1F for ; Wed, 5 Jan 2011 13:40:51 +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 p05DepWH019787 for ; Wed, 5 Jan 2011 13:40:51 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p05DepGW019786 for cvs-src-old@freebsd.org; Wed, 5 Jan 2011 13:40:51 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201101051340.p05DepGW019786@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 13:40:35 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8_2 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 13:40:51 -0000 marius 2011-01-05 13:40:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_8_2) sys/sparc64/sparc64 tlb.c Log: SVN rev 217006 on 2011-01-05 13:40:35Z 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. Approved by: re (kib) Revision Changes Path 1.11.2.1.6.2 +6 -6 src/sys/sparc64/sparc64/tlb.c