Re: [RFC PATCH 2/3] sched: add yield_to function

Rik van Riel
2010-12-03T14:48:33Z

On 12/03/2010 09:45 AM, Mike Galbraith wrote:

> I'll have to go back and re-read that. Off the top of my head, I see no
> way it could matter which container the numbers live in as long as they
> keep advancing, and stay in the same runqueue. (hm, task weights would
> have to be the same too or scaled. dangerous business, tinkering with
> vruntimes)

They're not necessarily in the same runqueue, the
VCPU that is given time might be on another CPU
than the one that was spinning on a lock.

--
All rights reversed