Re: [PATCH 2/2] sched/deadline: Throttle a constrained deadline task activated after the deadline

From: Steven Rostedt
Date: Mon Feb 13 2017 - 10:33:25 EST


On Fri, 10 Feb 2017 20:48:11 +0100
Daniel Bristot de Oliveira <bristot@xxxxxxxxxx> wrote:

>
> +static inline bool dl_is_constrained(struct sched_dl_entity *dl_se)
> +{
> + return dl_se->dl_runtime < dl_se->dl_period;
> +}
> +

Is it ever appropriate for a dl task to have runtime == period? What
purpose would that serve? Just run the task as FIFO higher than
everything else.

Or was this suppose to be dl_deadline < dl_period?

-- Steve