[Cbe-oss-dev] [PATCH 2/6] spufs: fix timing dependent falsereturn from spufs_run_spu

Luke Browning lukebr at linux.vnet.ibm.com
Thu Feb 7 22:34:45 EST 2008


On Thu, 2008-02-07 at 10:43 +0900, Masato Noguchi wrote:
> Hi Luke,
> 
> > Stop bits are only valid when the running bit is not set.  Status bits carry
> > over from one invocation of spufs_run_spu() to another, so the RUNNING bit
> > gets added to the previous state of the register which may have been a remote
> > library call.  In this case, it looks like another library routine should be
> > invoked, but the spe is actually running.  This solves a problem with a
> > testcase that exercises the scheduler.
> 
> I feel the attached patch I send the other day works for it.
> Is this problem still there?
> 

I think you need both fixes.  In the testcase that I ran, the context
was activated so the backing ops were not being used.

Luke




More information about the cbe-oss-dev mailing list