Enable SMP for selected tests, add SMP option to nix (Depends on #2275) - #2276
Closed
alfreb wants to merge 18 commits into
Closed
Enable SMP for selected tests, add SMP option to nix (Depends on #2275)#2276alfreb wants to merge 18 commits into
alfreb wants to merge 18 commits into
Conversation
- Copy patches from github.com/IncludeOS/musl, commit 4f331b7. - Copy src/musl/nanosleep.ccp with clock_nanosleep from commit 9ceff78 in this repo. Original author of both patches is fwsGonzo.
adds getrandom + stubs for fchdir, getrusage, sched_setaffinity, sched_setscheduler, sigaltstack
- stub faccessat, faccessat2, fchmodat2, pwritev2, preadv2, statx - include time64 versions of calls to time functions. As it looks like IncludeOS is already using 64 bit time on 32 bit, the *_time64 calls just redirect to the existing calls. On 64 bit systems there should be no change, as the regular calls are 64 bit.
This makes crash loop detection easier
Missing RDSEED/RDRAND will only emit warning, not terminate
Enable SMP by default.
- Add smp parameter to nix default, shell, and overlay. Enable with --arg smp true. - Added multiple cores to paging, UDP and exceptions tests, add them to an SMP test set. - Enable boot logger to tests make it easier toverify that multiple cores come up. - Disable SMP for chainloader. It would be nice to test 32 bit multicore, but not in there.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This work depends on #2275