Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@omajid
Copy link
Member

@omajid omajid commented Jul 23, 2019

Fix up code to adjust cgroup v1 assumptions and check cgroup v2 paths, locations and values.

Continue using the older cgroup v1 terminology for APIs.

@omajid omajid changed the title WIP: Add cgroup v2 support to Interop.cgroups Add cgroup v2 support to Interop.cgroups Jul 23, 2019
@omajid omajid marked this pull request as ready for review July 23, 2019 04:58
@bartonjs bartonjs requested a review from stephentoub July 24, 2019 16:16
@omajid omajid force-pushed the cgroupv2 branch 2 times, most recently from ecd3961 to b5cadcf Compare July 24, 2019 18:04
@omajid
Copy link
Member Author

omajid commented Jul 26, 2019

cc @tmds

@danmoseley
Copy link
Member

cc @janvorli

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

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

A few more comments, but generally looks good.

@omajid
Copy link
Member Author

omajid commented Oct 23, 2019

@stephentoub Thanks for the review and your great suggestions! Does the updated patch look okay now?

omajid and others added 2 commits October 23, 2019 20:30
Fix up code to adjust cgroup v1 assumptions and check cgroup v2 paths,
locations and values.

Continue using the older cgroup v1 terminology for APIs.
@stephentoub
Copy link
Member

LGTM. Thanks. I pushed a commit to clean up the tests a bit, in particular to use our FileCleanupTestBase helper rather than generating random file names and tracking deleting them.

@omajid
Copy link
Member Author

omajid commented Oct 24, 2019

I pushed a commit to clean up the tests a bit, in particular to use our FileCleanupTestBase helper rather than generating random file names and tracking deleting them.

Thanks, that's very kind of you!

@tmds
Copy link
Member

tmds commented Oct 24, 2019

The related PR in coreclr is needed to make the runtime/GC aware of cgroup v2: dotnet/coreclr#25906.

@stephentoub stephentoub merged commit 8d18e3c into dotnet:master Oct 24, 2019
omajid added a commit to omajid/dotnet-corefx that referenced this pull request Feb 11, 2020
* Add cgroup v2 support to Interop.cgroups

Fix up code to adjust cgroup v1 assumptions and check cgroup v2 paths,
locations and values.

Continue using the older cgroup v1 terminology for APIs.

* Clean up new tests
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* Add cgroup v2 support to Interop.cgroups

Fix up code to adjust cgroup v1 assumptions and check cgroup v2 paths,
locations and values.

Continue using the older cgroup v1 terminology for APIs.

* Clean up new tests


Commit migrated from dotnet/corefx@8d18e3c
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants