From owner-cvs-src-old@FreeBSD.ORG Wed Jan 5 13:40:57 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 5DFF210656A3 for ; Wed, 5 Jan 2011 13:40:57 +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 4C79C8FC23 for ; Wed, 5 Jan 2011 13:40:57 +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 p05DevHc019805 for ; Wed, 5 Jan 2011 13:40:57 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p05DevKH019804 for cvs-src-old@freebsd.org; Wed, 5 Jan 2011 13:40:57 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201101051340.p05DevKH019804@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:40 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7_4 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:57 -0000 marius 2011-01-05 13:40:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_4) sys/sparc64/sparc64 tlb.c Log: SVN rev 217007 on 2011-01-05 13:40:40Z 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.8.20.3.6.2 +6 -6 src/sys/sparc64/sparc64/tlb.c