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

Avi Kivity
2010-12-20T11:06:51Z

On 12/20/2010 12:50 PM, Mike Galbraith wrote:
> >
> > > > > Would a kick/hint option be useful?
> > > >
> > > > Depends on what it does...
> > >
> > > Let you decide whether you only want to drop a hint and leave it at
> > > that, or also attempt a preemption.
> >
> > Who is "you" in this? the scheduler?
>
> The caller.
>

I guess it works. We can start out without preemption, if we see we
spin to much, preempt.

--
error compiling committee.c: too many arguments to function