lkml.org 
[lkml]   [2011]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 07/16] sched: expire invalid runtime
From
Date
On Tue, 2011-06-21 at 00:16 -0700, Paul Turner wrote:

> + now = sched_clock_cpu(smp_processor_id());
> + cfs_b->runtime_expires = now + ktime_to_ns(cfs_b->period);

> + if ((s64)(rq->clock - cfs_rq->runtime_expires) < 0)

Is there a good reason to mix these two (related) time sources?


\
 
 \ /
  Last update: 2011-06-22 17:51    [W:0.284 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site