Good news: KSE on ia64 is starting to work

Marcel Moolenaar marcel at xcllnt.net
Tue Aug 5 14:49:58 PDT 2003


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 at xcllnt.net


More information about the freebsd-threads mailing list