[Cbe-oss-dev] [PATCH 2/6] spufs: fix timing dependent falsereturn from spufs_run_spu
Christoph Hellwig
hch at lst.de
Fri Feb 8 00:56:17 EST 2008
On Thu, Feb 07, 2008 at 10:43:10AM +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?
With this fix ontop of Luke's patches both sched_simple and Jeremy's
testsuite pass fine.
More information about the cbe-oss-dev
mailing list