From owner-cvs-src-old@FreeBSD.ORG Wed Feb 10 05:43:53 2010 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 688C71065740 for ; Wed, 10 Feb 2010 05:43:53 +0000 (UTC) (envelope-from neel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 56F608FC15 for ; Wed, 10 Feb 2010 05:43:53 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o1A5hrui052422 for ; Wed, 10 Feb 2010 05:43:53 GMT (envelope-from neel@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o1A5hrX1052421 for cvs-src-old@freebsd.org; Wed, 10 Feb 2010 05:43:53 GMT (envelope-from neel@repoman.freebsd.org) Message-Id: <201002100543.o1A5hrX1052421@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to neel@repoman.freebsd.org using -f From: Neel Natu Date: Wed, 10 Feb 2010 05:43:31 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/mips/mips exception.S 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, 10 Feb 2010 05:43:53 -0000 neel 2010-02-10 05:43:31 UTC FreeBSD src repository Modified files: sys/mips/mips exception.S Log: SVN rev 203743 on 2010-02-10 05:43:31Z by neel Enable interrupts before doing AST processing to avoid a deadlock. Specifically on an SMP kernel it was observed that if both the processors are doing an exit1() via ast()->postsig()->sigexit() then we will deadlock. This happens because exit1() calls vmspace_exit() that in turn calls pmap_invalidate_all(). This function tries to do a smp_rendezvous() which blocks because the other processor is not responding to IPIs - because it too is doing AST processing with interrupts disabled. Revision Changes Path 1.7 +12 -0 src/sys/mips/mips/exception.S