[Cbe-oss-dev] [PATCH 10/10 V3] MARS: workload type move from context to queue block

Geoff Levand geoffrey.levand at am.sony.com
Thu Aug 14 08:21:31 EST 2008


On 08/11/2008 08:03 PM, Yuji Mano wrote:
> Hi Geoff.
> 
> Yuji Mano wrote:
>> Changes since V2:
>>  - reinstate padding in task context
>>  - fix MARS_TASK_CONTEXT_SIZE define to correct size
> 
> It turns out the current implementation strictly assumes the task context
> size to be the same as the workload context, so I needed to re-add the pad
> inside the task context.

It sounds like the struct mars_workload_context type needs to be used
instead of the struct mars_task_context type.  My other comment
regarding the use of a union could help with implementing this.
 
> As you've mentioned this is probably undesirable. I think separate patches
> will follow for a general abstraction clean up that addresses this issue
> and others.






More information about the cbe-oss-dev mailing list