Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2003 14:49:23 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Julian Elischer <julian@elischer.org>
Cc:        threads@freebsd.org
Subject:   Re: Good news: KSE on ia64 is starting to work
Message-ID:  <20030805214923.GA1633@dhcp01.pn.xcllnt.net>
In-Reply-To: <Pine.BSF.4.21.0308051415440.82100-100000@InterJet.elischer.org>
References:  <20030805210011.GB879@athlon.pn.xcllnt.net> <Pine.BSF.4.21.0308051415440.82100-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030805214923.GA1633>