15 Nov
2017
15 Nov
'17
10:54 a.m.
Signed-off-by: Keyon Jie yang.jie@linux.intel.com --- src/lib/schedule.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/lib/schedule.c b/src/lib/schedule.c index ab0602b..942067c 100644 --- a/src/lib/schedule.c +++ b/src/lib/schedule.c @@ -120,6 +120,10 @@ static inline struct task *edf_get_next(uint64_t current, if (task->state != TASK_STATE_QUEUED) continue;
+ /* ignore the ignored tasks */ + if (task == ignore) + continue; + /* include the length of task in deadline calc */ deadline = task->deadline - task->max_rtime;
--
2.11.0