[PATCH] CELL SPU task notification

2007-01-31 Thread Carl Love
This is the updates to the patch previously posted by Maynard Johnson as "PATCH 3/4 Add support to OProfile for profiling CELL". All concerns have been addressed. The only open issue is the movement of the notify_active flag to sched_flag in a future patch by Christoph Hellwig's for SPU schedulin

Re: [Cbe-oss-dev] [PATCH] Cell SPU task notification - repost of patch with updates

2007-01-26 Thread Maynard Johnson
This patch makes all the changes suggested by Christopher, with the exception of the suggestion to use the sched_flags field versus a new member to the spu_context struct to signal the need to "notify already active". I don't have the sched_flags change in my 2.6.20-rc1 tree. I can send anoth

Re: [Cbe-oss-dev] [PATCH] Cell SPU task notification

2007-01-18 Thread Christoph Hellwig
On Wed, Jan 17, 2007 at 09:56:12AM -0600, Maynard Johnson wrote: > I haven't seen that the scheduler patch series got applied yet. This > Cell spu task notification patch is a pre-req for OProfile development > to support profiling SPUs. When the scheduler patch gets applied to a > kernel ver

Re: [Cbe-oss-dev] [PATCH] Cell SPU task notification

2007-01-17 Thread Maynard Johnson
Christoph Hellwig wrote: Index: linux-2.6.19-rc6-arnd1+patches/arch/powerpc/platforms/cell/spufs/sched.c === --- linux-2.6.19-rc6-arnd1+patches.orig/arch/powerpc/platforms/cell/spufs/sched.c 2006-12-04 10:56:04.730698720 -06

Re: [Cbe-oss-dev] [PATCH] Cell SPU task notification

2007-01-16 Thread Christoph Hellwig
Index: linux-2.6.19-rc6-arnd1+patches/arch/powerpc/platforms/cell/spufs/sched.c === --- linux-2.6.19-rc6-arnd1+patches.orig/arch/powerpc/platforms/cell/spufs/sched.c 2006-12-04 10:56:04.730698720 -0600 +++ linux-2.6.19-rc6-arnd

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

2007-01-15 Thread Maynard Johnson
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, th

Re: [PATCH] Cell SPU task notification

2007-01-15 Thread Maynard Johnson
Michael, Thanks for your comments! My responses are below. -Maynard Michael Ellerman wrote: Subject: Enable SPU switch notification to detect currently active SPU tasks. From: Maynard Johnson <[EMAIL PROTECTED]> This patch adds to the capability of spu_switch_event_register so that the call

Re: [PATCH] Cell SPU task notification

2007-01-14 Thread Michael Ellerman
> Subject: Enable SPU switch notification to detect currently active SPU tasks. > > From: Maynard Johnson <[EMAIL PROTECTED]> > > This patch adds to the capability of spu_switch_event_register so that the > caller is also notified of currently active SPU tasks. It also exports > spu_switch_event

[PATCH] Cell SPU task notification

2007-01-12 Thread Maynard Johnson
Subject: Enable SPU switch notification to detect currently active SPU tasks. From: Maynard Johnson <[EMAIL PROTECTED]> This patch adds to the capability of spu_switch_event_register so that the caller is also notified of currently active SPU tasks. It also exports spu_switch_event_register an