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

raw_exec: make raw exec driver work with cgroups v2 #12419

Merged
merged 2 commits into from
Apr 5, 2022
Merged

Commits on Apr 4, 2022

  1. raw_exec: make raw exec driver work with cgroups v2

    This PR adds support for the raw_exec driver on systems with only cgroups v2.
    
    The raw exec driver is able to use cgroups to manage processes. This happens
    only on Linux, when exec_driver is enabled, and the no_cgroups option is not
    set. The driver uses the freezer controller to freeze processes of a task,
    issue a sigkill, then unfreeze. Previously the implementation assumed cgroups
    v1, and now it also supports cgroups v2.
    
    There is a bit of refactoring in this PR, but the fundamental design remains
    the same.
    
    Closes #12351 #12348
    shoenig committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    be7ec8d View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. Configuration menu
    Copy the full SHA
    1d2e2c0 View commit details
    Browse the repository at this point in the history