[Cbe-oss-dev] [PATCH 3/3] spu sched: forced preemption	at	execution
    Christoph Hellwig 
    hch at lst.de
       
    Sat Feb 24 17:38:19 EST 2007
    
    
  
On Thu, Feb 22, 2007 at 09:25:04PM -0300, Luke Browning wrote:
> You might also want to retest the priority fields under the ctx lock to
> make ensure that the priorities haven't changed.  The code above uses the
> runqueue lock, which doesn't protect these fields, right?
Currently these fields are never updated after the context creation,
so the lock is not needed.  But once we're doing dynamic timeslicing
we will need to introduce locking here.
    
    
More information about the cbe-oss-dev
mailing list