From owner-freebsd-threads@FreeBSD.ORG Mon Apr 28 19:12:04 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 D686037B401; Mon, 28 Apr 2003 19:12:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EA4E43FA3; Mon, 28 Apr 2003 19:12:04 -0700 (PDT) (envelope-from davidxu@freebsd.org) Received: from davidw2k (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with SMTP id h3T2C3Up035352; Mon, 28 Apr 2003 19:12:03 -0700 (PDT) (envelope-from davidxu@freebsd.org) Message-ID: <006101c30df5$00438740$f001a8c0@davidw2k> From: "David Xu" To: "Daniel Eischen" References: Date: Tue, 29 Apr 2003 10:08:34 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 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:12:05 -0000 ----- Original Message -----=20 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: >=20 > > 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. >=20 > 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. >=20 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. > 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). >=20 Can you use gdb and press ctrl+c to see where it is dead loop? > --=20 > Dan Eischen >=20 David Xu