-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Change scheduler to only store runnable tasks on run queue #1042
Change scheduler to only store runnable tasks on run queue #1042
Commits on Sep 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c923d37 - Browse repository at this point
Copy the full SHA c923d37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83fe1de - Browse repository at this point
Copy the full SHA 83fe1deView commit details
Commits on Sep 4, 2023
-
Rename
scheduler_2
module toscheduler
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for 2ddb077 - Browse repository at this point
Copy the full SHA 2ddb077View commit details -
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for 972577a - Browse repository at this point
Copy the full SHA 972577aView commit details -
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for ea4e592 - Browse repository at this point
Copy the full SHA ea4e592View commit details -
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for be1688b - Browse repository at this point
Copy the full SHA be1688bView commit details
Commits on Sep 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 41c7692 - Browse repository at this point
Copy the full SHA 41c7692View commit details
Commits on Sep 6, 2023
-
Save
rflags
during context switchThere are no guarantees about the value of the interrupt flag when context switching. If the context switch is voluntary, i.e. a thread called `schedule`, interrupts will most likely be enabled, whereas if a thread is preempted, interrupts will be disabled. But this means that if a preempted thread A switches to a thread B that voluntarily yielded, thread B will return from the call to `schedule` with interrupts disabled. The AArch64 code also needs to be modified but I'll leave that to @NathanRoyer. Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for 425b96d - Browse repository at this point
Copy the full SHA 425b96dView commit details -
Merge branch 'save-rflags' of https://github.com/tsoutsman/Theseus in…
…to idle-task-in-cpu-local
Configuration menu - View commit details
-
Copy full SHA for b5743c8 - Browse repository at this point
Copy the full SHA b5743c8View commit details
Commits on Sep 8, 2023
-
Merge branch 'theseus_main' into idle-task-in-cpu-local
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for e6c8978 - Browse repository at this point
Copy the full SHA e6c8978View commit details -
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for 4968af4 - Browse repository at this point
Copy the full SHA 4968af4View commit details -
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for 5a5ce94 - Browse repository at this point
Copy the full SHA 5a5ce94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0936352 - Browse repository at this point
Copy the full SHA 0936352View commit details -
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for 8917875 - Browse repository at this point
Copy the full SHA 8917875View commit details -
Implement priority inheritance
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for 618b5ce - Browse repository at this point
Copy the full SHA 618b5ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbe91ac - Browse repository at this point
Copy the full SHA cbe91acView commit details -
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for 7ffdfae - Browse repository at this point
Copy the full SHA 7ffdfaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 414b31f - Browse repository at this point
Copy the full SHA 414b31fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd2b49b - Browse repository at this point
Copy the full SHA cd2b49bView commit details
Commits on Sep 10, 2023
-
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for c420a74 - Browse repository at this point
Copy the full SHA c420a74View commit details -
Merge branch 'theseus_main' into idle-task-in-cpu-local
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for 53882f8 - Browse repository at this point
Copy the full SHA 53882f8View commit details
Commits on Sep 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6d193f0 - Browse repository at this point
Copy the full SHA 6d193f0View commit details
Commits on Sep 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c1673f7 - Browse repository at this point
Copy the full SHA c1673f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ef4d7e - Browse repository at this point
Copy the full SHA 7ef4d7eView commit details -
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for 6d23826 - Browse repository at this point
Copy the full SHA 6d23826View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for b93daf8 - Browse repository at this point
Copy the full SHA b93daf8View commit details -
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for 86939c8 - Browse repository at this point
Copy the full SHA 86939c8View commit details -
Merge branch 'new-scheduler-test' into remove-unrunnable-task-from-ru…
…n-queue Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for fdd2add - Browse repository at this point
Copy the full SHA fdd2addView commit details -
Configuration menu - View commit details
-
Copy full SHA for 730278d - Browse repository at this point
Copy the full SHA 730278dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b73000d - Browse repository at this point
Copy the full SHA b73000dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e265609 - Browse repository at this point
Copy the full SHA e265609View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9d9fac - Browse repository at this point
Copy the full SHA a9d9facView commit details -
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for dfd9fe2 - Browse repository at this point
Copy the full SHA dfd9fe2View commit details -
fix: set
inner.pinned_cpu
for pinned tasksWhen spawning a pinned task, `spawn` didn't previously set `inner.pinned_cpu`. This created problems in theseus-os#1042 because the scheduler didn't know that tasks were pinned and freely migrated them across cores. Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for 38e1a06 - Browse repository at this point
Copy the full SHA 38e1a06View commit details -
Merge branch 'fix-pinned-task' into remove-unrunnable-task-from-run-q…
…ueue Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for cfac9cd - Browse repository at this point
Copy the full SHA cfac9cdView commit details
Commits on Oct 7, 2023
-
Merge branch 'theseus_main' into remove-unrunnable-task-from-run-queue
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
Configuration menu - View commit details
-
Copy full SHA for 232949d - Browse repository at this point
Copy the full SHA 232949dView commit details
Commits on Oct 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 368e7d4 - Browse repository at this point
Copy the full SHA 368e7d4View commit details