diff options
| author | Michael Pratt <mpratt@google.com> | 2023-09-11 12:17:40 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-09-11 16:35:54 +0000 |
| commit | c0c4a5981600aae2b7a9de9494a29e2f5d82be54 (patch) | |
| tree | eb86a574b911b3abfcd0f152e5db8c599317490a /src/runtime/runtime2.go | |
| parent | 298e8488646e25e62b3879b88958cf0672b5acac (diff) | |
| download | go-c0c4a5981600aae2b7a9de9494a29e2f5d82be54.tar.xz | |
Revert "runtime: set stackguard1 on extra M g0"
This reverts CL 527056.
CL 525455 breaks darwin, alpine, and android. This CL must be reverted
in order to revert that CL.
For #62440.
Change-Id: I4e1b16e384b475a605e0214ca36c918d50faa22c
Reviewed-on: https://go-review.googlesource.com/c/go/+/527316
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 34f66d4ada..8809b5d569 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -423,7 +423,7 @@ type g struct { // stack describes the actual stack memory: [stack.lo, stack.hi). // stackguard0 is the stack pointer compared in the Go stack growth prologue. // It is stack.lo+StackGuard normally, but can be StackPreempt to trigger a preemption. - // stackguard1 is the stack pointer compared in the //go:systemstack stack growth prologue. + // stackguard1 is the stack pointer compared in the C stack growth prologue. // It is stack.lo+StackGuard on g0 and gsignal stacks. // It is ~0 on other goroutine stacks, to trigger a call to morestackc (and crash). stack stack // offset known to runtime/cgo |
