diff options
| author | Austin Clements <austin@google.com> | 2017-06-13 11:33:57 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2017-09-27 16:29:12 +0000 |
| commit | ee55000f6c45d2f5c38d91679def933fdf27c029 (patch) | |
| tree | 4ef776782447da40d426da04e900a28803f9d8bd /src/runtime/runtime2.go | |
| parent | 84d2c7ea835c238f466de64066b65614d1bc7dbe (diff) | |
| download | go-ee55000f6c45d2f5c38d91679def933fdf27c029.tar.xz | |
runtime: eliminate GOMAXPROCS limit
Now that allp is dynamically allocated, there's no need for a hard cap
on GOMAXPROCS.
Fixes #15131.
Change-Id: I53eee8e228a711a818f7ebce8d9fd915b3865eed
Reviewed-on: https://go-review.googlesource.com/45574
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 269c5b1c4d..055fff18af 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -520,12 +520,6 @@ type p struct { pad [sys.CacheLineSize]byte } -const ( - // The max value of GOMAXPROCS. - // There are no fundamental restrictions on the value. - _MaxGomaxprocs = 1 << 10 -) - type schedt struct { // accessed atomically. keep at top to ensure alignment on 32-bit systems. goidgen uint64 |
