-
Notifications
You must be signed in to change notification settings - Fork 25
Comparing changes
Open a pull request
base repository: opencontainers/cgroups
base: v0.0.5
head repository: opencontainers/cgroups
compare: v0.0.6
- 9 commits
- 15 files changed
- 6 contributors
Commits on Oct 25, 2025
-
config: switch PidsLimit to *int64
Previously we would treat a value of "0" as meaning "no-op", which lead to quite a bit of confusion. The runtime-spec has been updated to make the "pids.limit" value a pointer, and explicitly state that: * Values >= 0 should be treated as normal values; and * < 0 (usually -1) indicates "max". In practice this means we should switch PidsLimit to an *int64. Luckily, this is actually backwards-compatible with our previous JSON -- an old value of "0" would be omitted from the output, which will now be parsed as "nil". The handling by our cgroup code would be identical but the latter now correctly reflects the guidance by the runtime-spec. Signed-off-by: Aleksa Sarai <[email protected]>
9Configuration menu - View commit details
-
Copy full SHA for ae52e0c - Browse repository at this point
Copy the full SHA ae52e0cView commit details -
Co-developed-by: Kir Kolyshkin <[email protected]> Signed-off-by: Kir Kolyshkin <[email protected]> Signed-off-by: Aleksa Sarai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c34f09 - Browse repository at this point
Copy the full SHA 7c34f09View commit details
Commits on Oct 28, 2025
-
Merge pull request #48 from cyphar/pids-limit-0
config: switch PidsLimit to *int64
Configuration menu - View commit details
-
Copy full SHA for 2f41057 - Browse repository at this point
Copy the full SHA 2f41057View commit details -
systemd: retry when the dbus connection returns EAGAIN
Signed-off-by: jianghao65536 <[email protected]> [cyphar: gofumpt systemd/dbus_test.go] [cyphar: simplify retry loop to return from inside loop] [cyphar: improve exponential backoff to be less aggressive] [cyphar: improve parallel test] Signed-off-by: Aleksa Sarai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd71e92 - Browse repository at this point
Copy the full SHA cd71e92View commit details
Commits on Oct 29, 2025
-
When the iocost controller is enabled it will emit statistics about its usage in io.stat. Export this when available. This is a no-op when iocost is not enabled. There is a comment that we only expose data which directly maps to cgroups v1. We're already breaking this by adding PSI metrics, so reword this to just indicate that we currently don't recognize the other fields. Signed-off-by: Morten Hein Tiljeset <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e313314 - Browse repository at this point
Copy the full SHA e313314View commit details -
Merge pull request #43 from tiljeset/iocost
fs2: add iocost statistics
Configuration menu - View commit details
-
Copy full SHA for 7305075 - Browse repository at this point
Copy the full SHA 7305075View commit details -
Merge pull request #45 from jianghao65536/eagain-retry
systemd: retry when the dbus connection returns EAGAIN
Configuration menu - View commit details
-
Copy full SHA for c63eee3 - Browse repository at this point
Copy the full SHA c63eee3View commit details
Commits on Oct 30, 2025
-
fs: improve cpuacct.usage_all parsing
First, we can reasonably expect the first three fields of cpuacct.usage_all to be "cpu user system", even for future kernels, and if we see something different, it doesn't make sense to continue. So check that the header is as expected, and error out otherwise. Second, if we have more than 3 values, and we've checked that the first 3 are as expected ("cpu user system"), we can safely ignore extra columns. This fixes an issue on a custom kernel from Tencent, which adds a few extra columns (see [1]), as reported in issue 46. Add tests for both cases. Fixes issue 46. [1]: OpenCloudOS/TencentOS-kernel-0@0b66781 Reported-by: vimiix <[email protected]> Signed-off-by: Kir Kolyshkin <[email protected]>Configuration menu - View commit details
-
Copy full SHA for 5777053 - Browse repository at this point
Copy the full SHA 5777053View commit details
Commits on Oct 31, 2025
-
Merge pull request #50 from kolyshkin/fix-usage-all
fs: fix/improve cpuacct.usage_all parsing
Configuration menu - View commit details
-
Copy full SHA for e0c56cb - Browse repository at this point
Copy the full SHA e0c56cbView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.0.5...v0.0.6