From owner-cvs-src@FreeBSD.ORG Wed May 21 11:53:26 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71A5C37B401; Wed, 21 May 2003 11:53:26 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F08643FB1; Wed, 21 May 2003 11:53:26 -0700 (PDT) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4LIrP0U047302; Wed, 21 May 2003 11:53:25 -0700 (PDT) (envelope-from julian@repoman.freebsd.org) Received: (from julian@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4LIrPGC047301; Wed, 21 May 2003 11:53:25 -0700 (PDT) Message-Id: <200305211853.h4LIrPGC047301@repoman.freebsd.org> From: Julian Elischer Date: Wed, 21 May 2003 11:53:25 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_switch.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 18:53:26 -0000 julian 2003/05/21 11:53:25 PDT FreeBSD src repository Modified files: sys/kern kern_switch.c Log: When we are spilling threads out of the run queue during panic, make sure we keep the thread state variable consistent with its real state. i.e. Don't say it's on the run queue when it isn't. Also clarify the associated comment. Turns a double panic back to a single panic :-/ Approved by: re@ (jhb) Revision Changes Path 1.58 +6 -3 src/sys/kern/kern_switch.c