summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/inotify.go
diff options
context:
space:
mode:
authorAleksandr Razumov <ar@gortc.io>2019-12-15 20:57:23 +0300
committerAleksandr Razumov <ar@gortc.io>2019-12-15 21:12:43 +0300
commit8782f0e287df2a2fd9f9dfb3f0e1589cc15a4f91 (patch)
treed08d7f3a04d700b2edc2538d80ef9d3f0137989c /pkg/sentry/fs/inotify.go
parent6b424530397e5100b08628efe8f6c62178daa70b (diff)
Set CPU number to CPU quota
When application is not cgroups-aware, it can spawn excessive threads which often defaults to CPU number. Introduce a opt-in flag that will set CPU number accordingly to CPU quota (if available). Fixes #1391
Diffstat (limited to 'pkg/sentry/fs/inotify.go')
0 files changed, 0 insertions, 0 deletions