lkml.org 
[lkml]   [2017]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 2/2] sched/deadline: Throttle a constrained deadline task activated after the deadline
    From
    Date
    On 02/13/2017 04:33 PM, Steven Rostedt 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?

    Oooooops, my bad :-(, this was supposed to be dl_deadline < dl_period.

    I will send a v2 fixing it, along with the problem in the comment that
    peterz mentioned before.

    Thanks Steven!

    -- Daniel

    \
     
     \ /
      Last update: 2017-02-13 16:51    [W:7.076 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site