SMPing libpthread

David Xu davidxu at freebsd.org
Mon Apr 28 19:12:05 PDT 2003


----- Original Message ----- 
From: "Daniel Eischen" <eischen at pcnet1.pcnet.com>
To: "David Xu" <davidxu at viatech.com.cn>
Cc: <freebsd-threads at freebsd.org>
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.

> 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?

> -- 
> Dan Eischen
> 

David Xu




More information about the freebsd-threads mailing list