lkml.org 
[lkml]   [2007]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sched_yield: delete sysctl_sched_compat_yield
Ingo Molnar wrote:
> * Mark Lord <lkml@rtr.ca> wrote:
>
>> That's not the same thing at all. I think that David is suggesting
>> that the reinsertion logic should pretend that the task used up all of
>> the CPU time it was offered in the slot leading up to the
>> sched_yield() call.
>
> we have tried this too, and this has problems too (artificial inflation
> of the vruntime metric and a domino effects on other portions of the
> scheduler). So this is a worse solution than what we have now. (and this
> has all been pointed out in past discussions in which David
> participated. I'll certainly reply to any genuinely new idea.)
..

Ack. And what of the suggestion to try to ensure that a yielding task
simply not end up as the very next one chosen to run? Maybe by swapping
it with another (adjacent?) task in the tree if it comes out on top again?

(I really don't know the proper terminology to use here,
but hopefully Ingo can translate that).

That's probably already been covered too, but are the prior conclusions still valid?

Thanks Ingo -- I *really* like this scheduler!


\
 
 \ /
  Last update: 2007-12-03 23:01    [W:0.057 / U:2.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site