-
Notifications
You must be signed in to change notification settings - Fork 723
Fix coreCount on Linux when using cgroup v2 with CFS throttling disabled #3462
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
Merged
+315
−18
Merged
Changes from 3 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
15ff7a0
Fixes coreCount on Linux when using cgroup v2 with CFS throttling dis…
mitchellallison 556574e
Make cpuSetPath, cpuSetPathV2 & cgroupV2MountPoint static lets.
mitchellallison 264c9cf
Use lazily computed closures, as let variables are incompatible with …
mitchellallison 91f100f
Remove redundant lazy.
mitchellallison a0e3fd9
Remove circular dependency between NIOCore & NIOFileSystem.
mitchellallison 68af05c
Merge branch 'main' into fix-cgroups-v2-core-count
weissi c7e224a
Apply formatting fixes.
mitchellallison cb633ae
Fix Android/Static Linux compliation issues.
mitchellallison 3109e63
Use correctly prefixed cgroup v2 mount point path, fix parsing of dou…
mitchellallison be58179
Switch cgroupVersion to be a stored property to align with other conv…
mitchellallison ef4d96c
Add back removed 'extern', fix up types for static/android SDKs, and …
mitchellallison 1a2f263
Fix up second declaration.
mitchellallison 35bb6a4
Fix up more build failures.
mitchellallison 4d3bc93
Fix remaining build failures across Android/Static SDK, and fix up fo…
mitchellallison 6ddfbb9
Merge branch 'main' into fix-cgroups-v2-core-count
mitchellallison 20e9453
Workaround https://github.com/swiftlang/swift/issues/86149.
mitchellallison 19ce396
Merge branch 'main' into fix-cgroups-v2-core-count
mitchellallison f415ee5
Merge branch 'main' into fix-cgroups-v2-core-count
Lukasa aeba647
Add back missing 'extern' for CNIOLinux_TMPFS_MAGIC declaration.
mitchellallison File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.