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

From: Dario Faggioli
Date: Tue Apr 24 2012 - 02:29:32 EST


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?

Regards,
Dario

--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


Attachment: signature.asc
Description: This is a digitally signed message part