diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-10-05 23:03:31 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-05 23:03:31 +0000 |
commit | 63177631fe3ca455b76fe0bd69c4f7e6dd73bc67 (patch) | |
tree | 11281b0f20f8cef48f0c2d2ae26a505e99ee9dfe /runsc/boot | |
parent | cc7f36a4d070c5e7ff31a31dbaa5db9601de060d (diff) | |
parent | 1bc78d9fda68d7141ea63cd0c26dd0119ea49cf4 (diff) |
Merge release-20200928.0-45-g1bc78d9fd (automated)
Diffstat (limited to 'runsc/boot')
-rw-r--r-- | runsc/boot/loader.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go index 2e652ddad..d5391f78a 100644 --- a/runsc/boot/loader.go +++ b/runsc/boot/loader.go @@ -282,6 +282,7 @@ func New(args Args) (*Loader, error) { args.NumCPU = runtime.NumCPU() } log.Infof("CPUs: %d", args.NumCPU) + runtime.GOMAXPROCS(args.NumCPU) if args.TotalMem > 0 { // Adjust the total memory returned by the Sentry so that applications that |