From owner-freebsd-threads@FreeBSD.ORG Tue Aug 5 14:49:58 2003 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 878FC37B401; Tue, 5 Aug 2003 14:49:58 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72E9043F3F; Tue, 5 Aug 2003 14:49:57 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h75LnNwO033386; Tue, 5 Aug 2003 14:49:23 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h75LnNCn001674; Tue, 5 Aug 2003 14:49:23 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h75LnN3E001673; Tue, 5 Aug 2003 14:49:23 -0700 (PDT) (envelope-from marcel) Date: Tue, 5 Aug 2003 14:49:23 -0700 From: Marcel Moolenaar To: Julian Elischer Message-ID: <20030805214923.GA1633@dhcp01.pn.xcllnt.net> References: <20030805210011.GB879@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: deischen@freebsd.org cc: threads@freebsd.org Subject: Re: Good news: KSE on ia64 is starting to work 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: Tue, 05 Aug 2003 21:49:58 -0000 On Tue, Aug 05, 2003 at 02:16:55PM -0700, Julian Elischer wrote: > > > BTW: Feel free to commit your patch at your earliest convenience > > (with or without the change described above). I see a slight > > regression after applying the patch, but much rather see it > > committed than having to work with a large patch... > > you mean a 'speed' regression? A functional regression. There's a bug in _tcb_set() The tcb argument can be NULL and we unconditionally dereference it. Hence, kse_sched_multi() now causes segfaults. It did not do that before :-) Something else is still fishy though: itanium% ./kse Using 5 threads (default) bar 0 Segmentation fault (core dumped) It should be something like: itanium% ./thr Using 5 threads (default) bar 1 bar 2 bar 3 bar 0 bar 4 The bar # lines are randomized, so the order does not have to be the same. But, I'm almost there... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net