Skip to content
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

Enable cgroups hierarchical memory limits support #93611

Merged
merged 7 commits into from
Oct 19, 2023

Commits on Oct 17, 2023

  1. Enable cgroups hierarchical limits support

    Cgroups can limit memory hierarchically. That means that ancestor
    cgroups can apply limits that are lower than the current cgroup's
    memory limit. .NET runtime is not honoring these hierarchical limits
    with neither cgroups v1 nor cgroups v2.
    This change fixes it. The implementation is different for cgroups V1
    and V2 because cgroups v1 provide aggregated hierarchical limit value
    in the memory.stat, but in cgroups v2, runtime needs to walk the
    cgroup hierarchy and find the lowest limit in it.
    janvorli committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    73cc88b View commit details
    Browse the repository at this point in the history
  2. Reflect PR feedback

    * Remove cgroup memory related stuff from the coreclr PAL
    * Real fix to the managed cgroup issue with cgroup v1 filesystem type detection
    janvorli committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    1b51d91 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Fix build break

    janvorli committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    dc0f63c View commit details
    Browse the repository at this point in the history
  2. Another build break fix

    janvorli committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    3db1e8b View commit details
    Browse the repository at this point in the history
  3. Fix build break take 3

    janvorli committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    89b75f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Fix DescriptionNameTest

    janvorli committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    3ceee0c View commit details
    Browse the repository at this point in the history
  2. Update src/libraries/System.Runtime.InteropServices.RuntimeInformatio…

    …n/tests/DescriptionNameTests.cs
    
    Co-authored-by: Jan Kotas <jkotas@microsoft.com>
    janvorli and jkotas committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    ade3ef8 View commit details
    Browse the repository at this point in the history