From owner-cvs-all@FreeBSD.ORG Sun Oct 5 09:13:41 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7DBC106569F; Sun, 5 Oct 2008 09:13:41 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8C29D8FC17; Sun, 5 Oct 2008 09:13:41 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m959DfSv033317; Sun, 5 Oct 2008 09:13:41 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m959DfMh033316; Sun, 5 Oct 2008 09:13:41 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200810050913.m959DfMh033316@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Sun, 5 Oct 2008 09:13:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/kern kern_shutdown.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 09:13:41 -0000 kib 2008-10-05 09:13:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_shutdown.c Log: SVN rev 183619 on 2008-10-05 09:13:27Z by kib MFC r183412: If the panic thread is preempted after setting panicstr but before setting TDF_INPANIC then it will never be rescheduled again. Wrap setting the panic condition with the critical section. Approved by: re (kensmith) Revision Changes Path 1.182.2.6 +2 -0 src/sys/kern/kern_shutdown.c