[PATCH] Cell SPU task notification -- updated patch: #1

Maynard Johnson maynardj at us.ibm.com
Tue Jan 16 09:39:32 EST 2007


Attached is an updated patch that addresses Michael Ellerman's comments.

One comment made by Michael has not yet been addressed:
The comment was in regard to the for-loop in 
spufs/sched.c:notify_spus_active().  He wondered if the scheduler can 
swap a context from one node to another.  If so, there's a small window 
in this loop (where we switch the lock from one node's active list to 
the next) where it may be possible we might miss waking up a context and 
send a spurious wakeup to another.
	Arnd . . . can you comment on this question?

Thanks.
-Maynard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: spu-notifier.patch
Type: text/x-diff
Size: 4285 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070115/5b33ba60/attachment.patch>


More information about the Linuxppc-dev mailing list