[Cbe-oss-dev] [PATCH -- RFC]Add notification for active Cell SPU tasks -- update #2

Maynard Johnson maynardj at us.ibm.com
Tue Jan 9 11:47:17 EST 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spu-notifier.patch
Type: text/x-diff
Size: 5230 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070108/54f8f77b/attachment.patch>


More information about the Linuxppc-dev mailing list