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

From: Peter Zijlstra
Date: Wed Jun 22 2011 - 11:48:48 EST


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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/