From owner-cvs-all@FreeBSD.ORG Fri Apr 18 13:20:00 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D444C37B401; Fri, 18 Apr 2003 13:20:00 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A56643F75; Fri, 18 Apr 2003 13:20:00 -0700 (PDT) (envelope-from jhb@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 h3IKK00U035022; Fri, 18 Apr 2003 13:20:00 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3IKK02F035021; Fri, 18 Apr 2003 13:20:00 -0700 (PDT) Message-Id: <200304182020.h3IKK02F035021@repoman.freebsd.org> From: John Baldwin Date: Fri, 18 Apr 2003 13:20:00 -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/alpha/alpha trap.c src/sys/i386/i386 trap.c src/sys/ia64/ia64 trap.c src/sys/kern kern_thread.c src/sys/sparc64/sparc64 trap.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 18 Apr 2003 20:20:01 -0000 jhb 2003/04/18 13:20:00 PDT FreeBSD src repository Modified files: sys/alpha/alpha trap.c sys/i386/i386 trap.c sys/ia64/ia64 trap.c sys/kern kern_thread.c sys/sparc64/sparc64 trap.c Log: Use the proc lock to protect p_singlethread and a P_WEXIT test. This fixes a couple of potential KSE panics on non-i386 arch's that weren't holding the proc lock when calling thread_exit(). Revision Changes Path 1.111 +2 -1 src/sys/alpha/alpha/trap.c 1.246 +2 -2 src/sys/i386/i386/trap.c 1.73 +3 -1 src/sys/ia64/ia64/trap.c 1.117 +2 -2 src/sys/kern/kern_thread.c 1.59 +2 -1 src/sys/sparc64/sparc64/trap.c