Skip to content

Conversation

@kpamnany
Copy link
Member

@kpamnany kpamnany commented Mar 5, 2025

This is still WIP.

Every time a task is scheduled (and in numerous other situations), we would like to ensure that at least one thread is awake to run the task. Currently, we wake all threads, via a serial loop in wakeup_thread(). This scales poorly and is inefficient. #56475 reworks this with a "spinner" thread approach. This PR tries a different approach: continue to wake up all threads, but via a tree wakeup rather than serially.

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