From owner-freebsd-threads@FreeBSD.ORG Mon Apr 28 19:24:20 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 2FB0B37B401; Mon, 28 Apr 2003 19:24:20 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AA3F43FBD; Mon, 28 Apr 2003 19:24:17 -0700 (PDT) (envelope-from eischen@pcnet1.pcnet.com) Received: from pcnet1.pcnet.com (localhost [127.0.0.1]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h3T2OGBg001061; Mon, 28 Apr 2003 22:24:16 -0400 (EDT) Received: from localhost (eischen@localhost)h3T2OG8w001057; Mon, 28 Apr 2003 22:24:16 -0400 (EDT) Date: Mon, 28 Apr 2003 22:24:16 -0400 (EDT) From: Daniel Eischen To: David Xu In-Reply-To: <006101c30df5$00438740$f001a8c0@davidw2k> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: SMPing libpthread 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, 29 Apr 2003 02:24:20 -0000 On Tue, 29 Apr 2003, David Xu wrote: > > ----- Original Message ----- > From: "Daniel Eischen" > To: "David Xu" > Cc: > Sent: Tuesday, April 29, 2003 7:59 AM > Subject: Re: SMPing libpthread > > > > On Mon, 28 Apr 2003, David Xu wrote: > > > > > I have updated the libpthread SMP patch. > > > http://people.freebsd.org/~davidxu/libpthread_smp.diff > > > default is SMP enabled in the patch. the patch past all ACE tests, > > > also crew program was tested. > > > > Committed. I also made spinlock/spinunlock critical regions. > > Take a look at it and see if you think it'll work OK. All > > my tests pass with this. > > > > I found some DNS routines are using spinlock! so they > may be blocked in network transaction, it would lock out > our scheduler. I think we still need to rescure PS_SPINBLOCK > code from libc_r. No, let's replace them with mutexes. They shouldn't have crept in. Is this with the new NSS code that was just added? > > We still have a problem with mozilla. When I first got > > libkse working, mozilla worked for me but now it hangs > > upon startup (no window ever gets displayed). > > > Can you use gdb and press ctrl+c to see where it is dead loop? No, only SIGKILL works. See my other post about rtld :-) -- Dan Eischen