Skip to content

edf: using specific schedule_edf() instead of schedule() - #1164

Merged
mmaka1 merged 1 commit into
thesofproject:masterfrom
bkokoszx:edf-scheduler-function-rename
Mar 25, 2019
Merged

mmaka1 merged 1 commit into
thesofproject:masterfrom
bkokoszx:edf-scheduler-function-rename

Conversation

@bkokoszx

@bkokoszx bkokoszx commented Mar 21, 2019 •

Copy link
Copy Markdown
Collaborator

I've changed scheduler invocation in schedule_edf_task_normal()
from generic schedule() to specific schedule_edf() for optimization
(there is no need to use generic functions in specific scheduler
implementation).

@bkokoszx
bkokoszx requested a review from libinyang as a code owner March 21, 2019 13:10
@bkokoszx
bkokoszx force-pushed the edf-scheduler-function-rename branch from 8cb757c to 68dfa92 Compare March 21, 2019 13:26
Comment thread src/lib/edf_schedule.c Outdated
Comment thread src/lib/edf_schedule.c Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you state why in commit message, looks like an optimization or bug fix ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've add information that is for optimization. In fact, it was my inattention during #1089 PR. We should not use generic functions in specific scheduler implementation.
Effect is the same, because schedule() will also invoke schedule_edf() function.

@bkokoszx
bkokoszx force-pushed the edf-scheduler-function-rename branch from 68dfa92 to 8f668ba Compare March 22, 2019 10:44
I've changed scheduler invocation in schedule_edf_task_normal()
from generic schedule() to specific schedule_edf() for optimization
(there is no need to use generic functions in specific scheduler
implementation).

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
@bkokoszx
bkokoszx force-pushed the edf-scheduler-function-rename branch from 8f668ba to d910c51 Compare March 22, 2019 10:46
@bkokoszx bkokoszx changed the title scheduler: edf: tiny cleanup in edf scheduler edf: using specific schedule_edf() instead of schedule() Mar 22, 2019
@mmaka1
mmaka1 merged commit 090208a into thesofproject:master Mar 25, 2019
@bkokoszx
bkokoszx deleted the edf-scheduler-function-rename branch April 10, 2019 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants