[Sound-open-firmware] [PATCH] scheduler: ignore the ignored tasks
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
15 Nov
15 Nov
9:50 p.m.
New subject: [Sound-open-firmware] [PATCH] scheduler: ignore the ignored tasks
On Wed, 2017-11-15 at 17:54 +0800, Keyon Jie wrote:
Signed-off-by: Keyon Jie yang.jie@linux.intel.com
src/lib/schedule.c | 4 ++++ 1 file changed, 4 insertions(+)
Applied.
Thanks
Liam
2594
Age (days ago)
2594
Last active (days ago)
1 comments
2 participants
participants (2)
-
Keyon Jie
-
Liam Girdwood