-
Notifications
You must be signed in to change notification settings - Fork 12
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
runqueue: allocate threads to >= 1 cores #248
Commits on Apr 10, 2024
-
runqueue: allocate threads to >= 1 cores
Support multiple cores in the runqueue. The current allocation for each core is stored in a new array. Thus, any call to `get_next_for_core` is minimal effort. The allocation is updated after each change in the runqueue.
Configuration menu - View commit details
-
Copy full SHA for a659268 - Browse repository at this point
Copy the full SHA a659268View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6518b0a - Browse repository at this point
Copy the full SHA 6518b0aView commit details
Commits on Apr 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c139e68 - Browse repository at this point
Copy the full SHA c139e68View commit details
Commits on Apr 12, 2024
-
fixup! runqueue: allocate threads to >= 1 cores
Clean code & improve readability.
Configuration menu - View commit details
-
Copy full SHA for 4f29f10 - Browse repository at this point
Copy the full SHA 4f29f10View commit details -
fixup! runqueue: allocate threads to >= 1 cores
Optimize case where `N_CORES` == 1.
Configuration menu - View commit details
-
Copy full SHA for b26e03b - Browse repository at this point
Copy the full SHA b26e03bView commit details -
fixup! runqueue: allocate threads to >= 1 cores
Make hax (hopefully) happy.
Configuration menu - View commit details
-
Copy full SHA for 111910f - Browse repository at this point
Copy the full SHA 111910fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e07cb0 - Browse repository at this point
Copy the full SHA 0e07cb0View commit details -
runqueue: fix
RunQueue::advance
for multicoreIn the multicore scenario, a yielding thread isn't necessarily the head of the runqueue. This commit adds a method `advance_from` to yield from any thread in the queue. The thread is then moved to the tail of the runqueue.
Configuration menu - View commit details
-
Copy full SHA for 65e4460 - Browse repository at this point
Copy the full SHA 65e4460View commit details
Commits on Apr 16, 2024
-
fixup! runqueue: fix
RunQueue::advance
for multicoreRemove unused method `advance_head` (duplication of `Runqueue::advance`).
Configuration menu - View commit details
-
Copy full SHA for f85db4d - Browse repository at this point
Copy the full SHA f85db4dView commit details
Commits on Apr 17, 2024
-
fixup! runqueue: allocate threads to >= 1 cores
Handle case N_CORES == 1 separately.
Configuration menu - View commit details
-
Copy full SHA for dcf08c1 - Browse repository at this point
Copy the full SHA dcf08c1View commit details -
Merge branch 'main' of https://github.com/future-proof-iot/RIOT-rs in…
…to runqueue/multiple-cores
Configuration menu - View commit details
-
Copy full SHA for 5e8622e - Browse repository at this point
Copy the full SHA 5e8622eView commit details
Commits on Apr 19, 2024
-
runqueue: introduce
GlobalRunqueue
traitAdd new `GlobalRunqueue` trait to differentiate and optimize for different number of cores on the type level. It uses the `min_specialization` rust feature to have a generic implementation for _n_ number of cores and fine-grained specialization of methods for concrete _n_.
Configuration menu - View commit details
-
Copy full SHA for 441611e - Browse repository at this point
Copy the full SHA 441611eView commit details