SMPing libpthread
Daniel Eischen
eischen at pcnet1.pcnet.com
Mon Apr 28 19:24:20 PDT 2003
On Tue, 29 Apr 2003, David Xu wrote:
>
> ----- 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.
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
More information about the freebsd-threads
mailing list