Re: [PATCH 05/16] sched: SCHED_DEADLINE policy implementation.

From: Tommaso Cucinotta
Date: Mon Apr 23 2012 - 19:25:35 EST

Il 23/04/2012 22:45, Peter Zijlstra ha scritto:
On Mon, 2012-04-23 at 22:25 +0100, Tommaso Cucinotta wrote:
I cannot get the real difference between rq->clock and rq->task_clock.
One runs at wall-time (rq->clock) the other excludes time in irq-context
and steal-time (rq->clock_task).

The idea is that ->clock_task gives the time as observed by schedulable
tasks and excludes other muck.

so clock_task might be better to compute the consumed budget at task deschedule, but for setting deadlines one period ahead in the future guess the regular wall-time rq->clock is the one to be used?



Tommaso Cucinotta, Computer Engineering PhD, Researcher
ReTiS Lab, Scuola Superiore Sant'Anna, Pisa, Italy
Tel +39 050 882 024, Fax +39 050 882 003

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at