From owner-cvs-src-old@FreeBSD.ORG Sun Jan 2 15:01:26 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 C79E4106566B for ; Sun, 2 Jan 2011 15:01:26 +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 B623D8FC1D for ; Sun, 2 Jan 2011 15:01:26 +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 p02F1QZQ012851 for ; Sun, 2 Jan 2011 15:01:26 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p02F1Qu8012850 for cvs-src-old@freebsd.org; Sun, 2 Jan 2011 15:01:26 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201101021501.p02F1Qu8012850@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Sun, 2 Jan 2011 15:01:03 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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: Sun, 02 Jan 2011 15:01:26 -0000 marius 2011-01-02 15:01:03 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 tlb.c Log: SVN rev 216891 on 2011-01-02 15:01:03Z by marius 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. MFC after: 3 days Revision Changes Path 1.12 +6 -6 src/sys/sparc64/sparc64/tlb.c