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.