From owner-cvs-all Thu Nov 30 19:42:21 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D444937B401; Thu, 30 Nov 2000 19:42:18 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB13gIl98329; Thu, 30 Nov 2000 19:42:18 -0800 (PST) (envelope-from jhb) Message-Id: <200012010342.eB13gIl98329@freefall.freebsd.org> From: John Baldwin Date: Thu, 30 Nov 2000 19:42:18 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_exit.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2000/11/30 19:42:18 PST Modified files: sys/kern kern_exit.c Log: Don't update p_stat in exit1() to SZOMB until after releasing the allproc lock. Otherwise, if we block on the backing mutex while releasing the allproc lock, then when we resume, we will be at SRUN, and we will stay that way all the way through cpu_exit. As a result, our parent will never harvest us. Revision Changes Path 1.106 +8 -2 src/sys/kern/kern_exit.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message