[lkml]   [2017]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] sched/wait: Break up long wake list walk
On Fri, Aug 18, 2017 at 12:58 PM, Andi Kleen <> wrote:
>> which is hacky, but there's a rationale for it:
>> (a) avoid the crazy long wait queues ;)
>> (b) we know that migration is *supposed* to be CPU-bound (not IO
>> bound), so yielding the CPU and retrying may just be the right thing
>> to do.
> So this would degenerate into a spin when the contention is with
> other CPUs?
> But then if we guarantee that migration has flat latency curve
> and no long tail it may be reasonable.

Honestly, right now I'd say it's more of a "poath meant purely for
testing with some weak-ass excuse for why it might not be broken".


 \ /
  Last update: 2017-08-18 22:10    [W:0.098 / U:54.308 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site