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

Update test_scheduler #1045

Merged
merged 6 commits into from Oct 5, 2023

Conversation

tsoutsman
Copy link
Member

The new test is significantly more robust than the old one. As of right now, the test isn't particularly useful because we don't have task migration, but #1042 adds implicit task migration when unblocking a task. Hence, the test has a focus on blocking and unblocking tasks.

The new test is significantly more robust than the old one. As of right
now, the test isn't particularly useful because we don't have task
migration, but theseus-os#1042 adds implicit task migration when unblocking a
task. Hence, the test has a focus on blocking and unblocking tasks.

Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Copy link
Member

@kevinaboos kevinaboos left a comment

Choose a reason for hiding this comment

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

#1035 has been merged in, thanks!

kernel/task_struct/src/lib.rs Outdated Show resolved Hide resolved
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Copy link
Member

@kevinaboos kevinaboos left a comment

Choose a reason for hiding this comment

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

thanks!

@kevinaboos kevinaboos merged commit e9416d6 into theseus-os:theseus_main Oct 5, 2023
4 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 5, 2023
* The new `test_scheduler` is significantly more robust than
  the old one. Currently, the test isn't particularly useful because
  we don't have task migration enabled, but #1042 will add
  implicit task migration when unblocking a task.
  * Hence, the test currently focuses on blocking/unblocking tasks.

* Add a function to iterate over all initialized CPUs.

Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com> e9416d6
github-actions bot pushed a commit to tsoutsman/Theseus that referenced this pull request Oct 7, 2023
* The new `test_scheduler` is significantly more robust than
  the old one. Currently, the test isn't particularly useful because
  we don't have task migration enabled, but theseus-os#1042 will add
  implicit task migration when unblocking a task.
  * Hence, the test currently focuses on blocking/unblocking tasks.

* Add a function to iterate over all initialized CPUs.

Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com> e9416d6
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.

None yet

2 participants