Skip to content

cgroupv2: simplify parseCgroupFile#359

Merged
AkihiroSuda merged 1 commit intocontainerd:mainfrom
kolyshkin:simparse
Jun 5, 2025
Merged

cgroupv2: simplify parseCgroupFile#359
AkihiroSuda merged 1 commit intocontainerd:mainfrom
kolyshkin:simparse

Conversation

@kolyshkin
Copy link
Contributor

Using strings.CutPrefix results in simpler, faster code with less allocations.

Same as opencontainers/runc@037668e

Using strings.CutPrefix results in simpler, faster code with less allocations.

Signed-off-by: Kir Kolyshkin <[email protected]>
@AkihiroSuda AkihiroSuda merged commit f4ddea3 into containerd:main Jun 5, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants