-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get limits from parent in cgroupv2 when max is specified in leaf cgro…
…up node. Without this fix, incorrect values were passed to --total-memory and --num-cpu. This meant applications were reading incorrect values from /proc/meminfo, etc. while the external cgroups were enforcing the correct limits. This can lead to bad/surprising app behavior. Fixes #9850 PiperOrigin-RevId: 579352625
- Loading branch information
1 parent
a8a46b4
commit 42b69d0
Showing
2 changed files
with
127 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters