-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implement MuQSS scheduling algorithm #48
base: master
Are you sure you want to change the base?
Conversation
Seems that this doesn't quite work for SMP just yet. Some more work needs to be done. |
It looks like there's something still wrong with context switching (eventually registers get corrupted on a context switch?). This maybe can be fixed by just progressing through more changes for the scheduler, which when complete this can be safely merged in. |
This doesn't allow for actual swapping of threads, for now though.
…list implementation where possible
This patch (roughly) implements the MuQSS scheduling algorithm, allowing for a more fair way to schedule between multiple processes.
Some things aren't quite done yet (TryAcquire for each local runqueue instead of an outright spinlock acquire), but this is much safer (and cleaner) than the prior round robin method.