From owner-freebsd-threads@FreeBSD.ORG Wed Sep 29 21:13:17 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0484516A4CE; Wed, 29 Sep 2004 21:13:17 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A96F043D2D; Wed, 29 Sep 2004 21:13:16 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i8TLDEJt016491 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Sep 2004 17:13:14 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i8TLD8iC005114; Wed, 29 Sep 2004 17:13:08 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16731.9572.915356.122446@grasshopper.cs.duke.edu> Date: Wed, 29 Sep 2004 17:13:08 -0400 (EDT) To: Julian Elischer In-Reply-To: <415B1ED6.8010809@elischer.org> References: <16728.37731.540143.307772@grasshopper.cs.duke.edu> <41589B4A.9080508@elischer.org> <415AB791.10809@freebsd.org> <16730.48642.4481.841374@grasshopper.cs.duke.edu> <415B13E8.2090205@elischer.org> <16731.6010.446877.347190@grasshopper.cs.duke.edu> <415B1ED6.8010809@elischer.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: David Xu cc: freebsd-threads@freebsd.org Subject: Re: easy to reproduce unkillable threads X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2004 21:13:17 -0000 Julian Elischer writes: > > while you are about it.. try this: No change for me.. > diff -u -r1.199 kern_thread.c > --- kern/kern_thread.c 25 Sep 2004 00:53:46 -0000 1.199 > +++ kern/kern_thread.c 29 Sep 2004 19:45:56 -0000 > @@ -282,13 +282,13 @@ > * Initialize type-stable parts of a ksegrp (when newly created). > */ > static int > -ksegrp_init(void *mem, int size, int flags) > +ksegrp_ctor(void *mem, int size, int flags) It actually needs a *arg to be a valid ctor.. -ksegrp_init(void *mem, int size, int flags) +ksegrp_ctor(void *mem, int size, void *arg, int flags) I'm cvsupping to HEAD right now to see if I can still reproduce it. Drew