8000 Comparing v3.0.3...main · jay-mckay/cgroups · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jay-mckay/cgroups
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.3
Choose a base ref
...
head repository: jay-mckay/cgroups
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 11 commits
  • 8 files changed
  • 7 contributors

Commits on Nov 19, 2024

  1. fix: use the specified go version in lint jobs

    Signed-off-by: Alberto Barba <alberto.barba@sysdig.com>
    AlbertoBarba committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    6338d30 View commit details
    Browse the repository at this point in the history
  2. Merge pull request containerd#352 from AlbertoBarba/fix/ci-lint

    fix: use the specified go version in lint jobs
    AkihiroSuda authored Nov 19, 2024
    Configuration menu
    Copy the full SHA
    d98c3a5 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. CI: drop Go 1.21

    Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
    AkihiroSuda committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    1186f06 View commit details
    Browse the repository at this point in the history
  2. go.mod: bump up

    Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
    AkihiroSuda committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    aa02188 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

  1. Merge pull request containerd#353 from AkihiroSuda/go-mod

    go.mod: bump up
    AkihiroSuda authored Nov 21, 2024
    Configuration menu
    Copy the full SHA
    082af38 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. add InotifyInit err to custom err message

    Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
    akhilerm committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    05bb490 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2024

  1. Merge pull request containerd#355 from akhilerm/return-error-from-ino…

    …tify
    
    add InotifyInit err to custom err message
    AkihiroSuda authored Nov 28, 2024
    Configuration menu
    Copy the full SHA
    d4e976d View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2024

  1. cgroup2: Manager.Delete: handle both "threaded" and "domain threaded"

    commit 6f5001d added special handling
    for threaded cgroup types. A later contribution added detection for
    "domain threaded" as known type, but did not update the handling to
    detect this type.
    
    From the original PR;
    
    > Reading cgroup.procs seems to return ENOTSUPP when threaded, so check
    > the type of the cg when going to delete and read the relevant file.
    
    An alternative could be to check both variants unconditionally, and to
    error if either Manager.Threads or Manager.Procs is non-zero.
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Dec 10, 2024
    Configuration menu
    Copy the full SHA
    2236eb0 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2024

  1. Merge pull request containerd#358 from thaJeztah/handle_domain_threaded

    cgroup2: Manager.Delete: handle both "threaded" and "domain threaded"
    fuweid authored Dec 17, 2024
    Configuration menu
    Copy the full SHA
    bce3c7e View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2025

  1. Read cpu.stat rega 977B rdless if controller enabled.

    The unified hierarchy provides the cpu.stat file for every cgroup,
    regardless if the CPU controller is enabled (in fact, setting the
    systemd property CPUAccounting=True does not enable this controller
    because of this fact). It provides the usage_usec, user_usec,
    and system_usec by default. Instead of reading the stat for each
    enabled controller (CPU and memory), just attempt to read them
    each time the Stat() function is called.
    
    Attempting to read the memory.stat file even if memory accounting
    is not enabled seems insignificant (some other files always have
    a read attempt, such as memory.current), and eliminates finding and
    looping over enabled controllers.
    
    Resolves: containerd#347
    
    Signed-off-by: Jackson McKay  <jackjaymckay@gmail.com>
    jay-mckay committed Feb 3, 2025
    Configuration menu
    Copy the full SHA
    f27d233 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2025

  1. cgroups2/Stats: split out reading cpu, memory, memory events (#1)

    As outlined in the PR, usage_usec, user_usec, and system_use may
    always exist, but in situations where the files parsed do not
    exist, we shouldn't have to try to assign values (which would always
    be 0).
    
    Split out parsing of these to separate functions, so make this more
    transparent.
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah authored Mar 11, 2025
    Configuration menu
    Copy the full SHA
    40b4a5f View commit details
    Browse the repository at this point in the history
Loading
0