Re: [RFC -v6 PATCH 4/8] sched: Add yield_to(task, preempt) functionality

2011-01-24 Thread Rik van Riel
On 01/24/2011 01:12 PM, Peter Zijlstra wrote: On Thu, 2011-01-20 at 16:34 -0500, Rik van Riel wrote: From: Mike Galbraith Currently only implemented for fair class tasks. Add a yield_to_task method() to the fair scheduling class. allowing the caller of yield_to() to accelerate another thread i

Re: [RFC -v6 PATCH 4/8] sched: Add yield_to(task, preempt) functionality

2011-01-24 Thread Peter Zijlstra
On Thu, 2011-01-20 at 16:34 -0500, Rik van Riel wrote: > From: Mike Galbraith > > Currently only implemented for fair class tasks. > > Add a yield_to_task method() to the fair scheduling class. allowing the > caller of yield_to() to accelerate another thread in it's thread group, > task group. >

[RFC -v6 PATCH 4/8] sched: Add yield_to(task, preempt) functionality

2011-01-20 Thread Rik van Riel
From: Mike Galbraith Currently only implemented for fair class tasks. Add a yield_to_task method() to the fair scheduling class. allowing the caller of yield_to() to accelerate another thread in it's thread group, task group. Implemented via a scheduler hint, using cfs_rq->next to encourage the