Re: [patch 07/16] sched: expire invalid runtime

Peter Zijlstra
2011-06-22T15:48:46Z

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?