Re: [PATCH 05/16] sched: SCHED_DEADLINE policy implementation.
From: Juri Lelli
Date: Tue Apr 24 2012 - 02:52:52 EST
On 04/24/2012 08:29 AM, Dario Faggioli wrote:
On Tue, 2012-04-24 at 00:25 +0100, Tommaso Cucinotta wrote:
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?
Yep, that was the idea, unless my recollection has completely gone
flaky! :-P
Perhaps adding a comment saying right this thing above, as Peter
suggested?
Sure! TODO for the next release :-).
Thanks,
- Juri
--
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/