2006-12-08 15:50:53

by Maynard Johnson

[permalink] [raw]
Subject: Re: [PATCH]Add notification for active Cell SPU tasks -- updated patch



Attachments:
spu-notifier.patch (1.77 kB)

2007-01-09 00:47:18

by Maynard Johnson

[permalink] [raw]
Subject: Re: [Cbe-oss-dev] [PATCH -- RFC]Add notification for active Cell SPU tasks -- update #2

The attached patch adds notification of already-active SPU tasks to
SPUFS. However, there's a bug that I'm having trouble finding. The
first execution of this code path works fine, but subsequent runs do not
work properly. On subsequent runs, I can see that not all of the
already-active tasks are getting awakened, so my OProfile driver is not
able to collect samples for those SPU contexts that were not awakened.
If anyone can see the error in my logic or if you have any other
comments on this patch, I would appreciate it.

Thanks.

Maynard


Attachments:
spu-notifier.patch (5.11 kB)

2007-01-12 22:00:11

by Maynard Johnson

[permalink] [raw]
Subject: Re: [Cbe-oss-dev] [PATCH -- RFC]Add notification for active Cell SPU tasks -- update #2

I've reworked this patch to resolve the problem I was seeing. I will
post the new patch in a separate, new posting with subject line of
"[PATCH] Cell SPU task notification".

-Maynard