diff options
author | Ian Lewis <ianlewis@google.com> | 2019-08-01 18:47:55 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-01 18:49:21 -0700 |
commit | 3eff0531adc6d28eea49be65fa747e2b3163f44d (patch) | |
tree | 741ebe9f48575b4b1ca6178dc862a2d4faa997f8 /pkg/sentry/loader/vdso.go | |
parent | bad43772a1c3d0b2a755ab38caae12b6542fe7a2 (diff) |
Set sandbox oom_score_adj
Set /proc/self/oom_score_adj based on oomScoreAdj specified in the OCI bundle.
When new containers are added to the sandbox oom_score_adj for the sandbox and
all other gofers are adjusted so that oom_score_adj is equal to the lowest
oom_score_adj of all containers in the sandbox.
Fixes #512
PiperOrigin-RevId: 261242725
Diffstat (limited to 'pkg/sentry/loader/vdso.go')
0 files changed, 0 insertions, 0 deletions