From owner-freebsd-stable@FreeBSD.ORG Sat Mar 20 14:44:28 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B30F16A4CE for ; Sat, 20 Mar 2004 14:44:28 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF62F43D39 for ; Sat, 20 Mar 2004 14:44:27 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) i2KMiR82096274 for ; Sat, 20 Mar 2004 14:44:27 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.9p2/8.12.9/Submit) id i2KMiRth096273; Sat, 20 Mar 2004 14:44:27 -0800 (PST) (envelope-from dillon) Date: Sat, 20 Mar 2004 14:44:27 -0800 (PST) From: Matthew Dillon Message-Id: <200403202244.i2KMiRth096273@apollo.backplane.com> To: freebsd-stable@freebsd.org References: <200403201941.i2KJf6Ml095658@apollo.backplane.com> Subject: Urk, I take it back (was Re: Bug in p_estcpu handling on process exit in FBsd-4.x) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 22:44:28 -0000 : The code that causes the parent to inherit the child's p_estcpu when : the child exits is broken. It was adding the parent's and child's : p_estcpu together. : : However, the child process is initialized with the parent's estcpu, : so simply adding it back in to the parent will cause the parent's : p_estcpu to blow up after only a few fork/exec's. :... Oops. I take it back. It's a bug, but my bug fix is not right, you don't want to apply that patch :-( It turns out to be a somewhat more complex problem. I'm going to have to experiment a bit more to find the right solution. -Matt