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_rustland_core: re-introduce ops.update_idle() #1274

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

arighi
Copy link
Contributor

@arighi arighi commented Jan 30, 2025

Re-introduce a softer version of idle polling to keep re-scheduling the user-space scheduler from ops.update_idle() if it still has pending tasks waiting to be dispatched.

This allows to achieve good core utilization both with v6.12 and v6.13 kernels.

Re-introduce a softer version of idle polling to keep re-scheduling the
user-space scheduler from ops.update_idle() if it still has pending
tasks waiting to be dispatched.

This allows to achieve good core utilization both with v6.12 and v6.13
kernels.

Signed-off-by: Andrea Righi <[email protected]>
@arighi arighi requested review from JakeHillion and htejun January 30, 2025 12:51
Copy link
Contributor

@JakeHillion JakeHillion left a comment

Choose a reason for hiding this comment

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

LGTM.

@arighi arighi added this pull request to the merge queue Jan 30, 2025
Merged via the queue into main with commit 98896c2 Jan 30, 2025
46 checks passed
@arighi arighi deleted the rustland-core-soft-idle-polling branch January 30, 2025 14:54
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.

2 participants