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_rusty: fix single dom short-circuit #731

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

frelon
Copy link
Contributor

@frelon frelon commented Oct 3, 2024

Remove a short-circuit in cpu_to_dom_id that will return domain id 0 for any input.

This fixes a crash of scx_rusty when running with a single domain and any CPU is offline.

Fixes #723

Remove a short-circuit in cpu_to_dom_id that will return domain id 0 for
any input.

This fixes a crash of scx_rusty when running with a single domain and
any CPU is offline.

Signed-off-by: Fredrik Lönnegren <[email protected]>
@htejun htejun added this pull request to the merge queue Oct 3, 2024
Merged via the queue into sched-ext:main with commit db0f83c Oct 3, 2024
18 of 19 checks passed
@frelon frelon deleted the scx-rusty-single-dom-bug branch October 3, 2024 18:57
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.

scx_rusty: Fix init failure when only one CPU is left online
2 participants