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

New locking scheme for dispatcher & scheduler #756

Closed
wants to merge 15 commits into from
Closed

Conversation

cahirwpz
Copy link
Owner

The aim of this PR is to implement the strategy as described in #242

@cahirwpz cahirwpz added the WiP not ready for code review label Sep 16, 2020
cahirwpz added a commit that referenced this pull request Sep 21, 2020
 * Simplify sq_wakeup body. Rename some functions.
 * Simplify _sleepq_wait body.
 * Remove unnecessary sq_lock.
 * Add a spin lock for each turnstile chain.
 * Thread0 starts with scheduler lock as td_lock.
 * Fix ctx_switch - now it dereferences a pointer to lock.
 * Fix gdb backtrace for ctx_switch.
 * Change td_lock to volatile pointer to spin lock.
@cahirwpz cahirwpz self-assigned this Nov 20, 2020
@cahirwpz
Copy link
Owner Author

Since this PR has deteriorated with time, I'll make another attempt on fresh version of the repository.

@cahirwpz cahirwpz closed this Sep 28, 2022
@cahirwpz cahirwpz deleted the new-td-locking branch September 28, 2022 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WiP not ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant