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

cgroupv2: only treat -1 as "max" #2300

Merged
merged 1 commit into from
Apr 8, 2020

Commits on Apr 8, 2020

  1. cgroupv2: only treat -1 as "max"

    Commit 6905b72 treats all negative values as "max",
    citing cgroup v1 compatibility as a reason. In fact, in
    cgroup v1 only -1 is treated as "unlimited", and other
    negative values usually calse an error.
    
    Treat -1 as "max", pass other negative values as is
    (the error will be returned from the kernel).
    
    Fixes: 6905b72
    Signed-off-by: Kir Kolyshkin <[email protected]>
    kolyshkin committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    568cd62 View commit details
    Browse the repository at this point in the history