[Cbe-oss-dev] [RFC] [PATCH 7:8] SPU Gang Scheduling - Paging Faulting

Christoph Hellwig hch at lst.de
Wed Mar 12 07:59:30 EST 2008


On Mon, Mar 03, 2008 at 04:50:09PM -0300, Luke Browning wrote:
> Gang should yield its spu(s) on major page faults.
> 
> Implement gang level nfaulting count that is incremented and decremented
> across major page faults enabling the gang to be yielded when there are
> no runnable contexts in the gang.  If there are no other runnable gangs
> waiting to be dispatched, then the gang remains lazily loaded.  Otherwise,
> it is switched out and put on the rq. The nrunnable count is the number
> of contexts in the gang that are inside spu_run() and are considered
> runnable.

Looks good.




More information about the cbe-oss-dev mailing list