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

scx_layered: dispatch from select_cpu if possible #114

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

dschatzberg
Copy link
Contributor

This is a minor optimization to avoid enqueue() in the event that select_cpu chooses to dispatch to the core it's running on.

If we are doing local dispatch, we can avoid enqueue() altogether by
dispatching from select_cpu()

Signed-off-by: Dan Schatzberg <schatzberg.dan@gmail.com>
@htejun htejun merged commit 4ee8104 into sched-ext:main Jan 31, 2024
1 check passed
@dschatzberg dschatzberg deleted the local_avoid_enqueue branch January 31, 2024 18:37
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.

None yet

2 participants