Re: Thread state

2002-07-12 Thread John Baldwin
On 11-Jul-2002 Julian Elischer wrote: >> It has been tested on sparc64, alpha, and i386 all with SMP. I >> would like to commit it soonish. Comments? >> > > > put me down as having approved/agreed/applauded/whatever! > (but check the idle thread setup first) Cool, ok. -- John Baldwin <

Re: Thread state

2002-07-11 Thread Peter Wemm
ing to Peter, the > code in ia64's cpu_switch() doesn't work either. Rather than try to > fix this in the assembler though, I think it is easier to just set > the thread state once in C at the end of choosethread(). It is a > lot easier to maintain down the road. The patch to

Re: Thread state

2002-07-11 Thread Benno Rice
te to TDS_RUNNING. Also, according to Peter, the > code in ia64's cpu_switch() doesn't work either. Rather than try to > fix this in the assembler though, I think it is easier to just set > the thread state once in C at the end of choosethread(). It is a > lot easier to mainta

Re: Thread state

2002-07-11 Thread Julian Elischer
in the assembler though, I think it is easier to just set > the thread state once in C at the end of choosethread(). It is a > lot easier to maintain down the road. The patch to do this is at > http://www.freebsd.org/~jhb/patches/kse_switch.patch > duh I should read to the end of the

Thread state

2002-07-11 Thread John Baldwin
cpu_switch() doesn't work either. Rather than try to fix this in the assembler though, I think it is easier to just set the thread state once in C at the end of choosethread(). It is a lot easier to maintain down the road. The patch to do this is at http://www.freebsd.org/~jhb/patches/kse_switc