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

helpers: fix reading cpu stats on cgroup v2 #2839

Merged
merged 3 commits into from
Mar 29, 2021

Commits on Mar 29, 2021

  1. helpers: fix reading cpu stats on cgroup v2

    read quota and limit from cpu.max, and convert cpu.weight to the range
    expected with cgroup v1.
    
    Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
    giuseppe committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    56ced55 View commit details
    Browse the repository at this point in the history
  2. common: move implementation of GetSpec to private function

    Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
    giuseppe committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    5bffc55 View commit details
    Browse the repository at this point in the history
  3. common: add GetSpec tests

    Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
    giuseppe committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    70b339d View commit details
    Browse the repository at this point in the history