Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schedule: zephyr_ll: update zephyr_ll_task_insert_unlocked comments #8507

Merged
merged 1 commit into from
Nov 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/schedule/zephyr_ll.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,10 @@ static void zephyr_ll_task_insert_unlocked(struct zephyr_ll *sch, struct task *t
task->state = SOF_TASK_STATE_QUEUED;

/*
* Tasks are added into the list from highest to lowest priority. This
* way they can then be run in the same order. Tasks with the same
* priority are served on a first-come-first-serve basis
* Tasks are added into the list in priority order. List order
* defines schedule order. Priority 0 indicates highest
* priority and is run first. Tasks with the same priority are
* served on a first-come-first-served basis.
*/
list_for_item(list, &sch->tasks) {
task_iter = container_of(list, struct task, list);
Expand Down