]> Cypherpunks repositories - gostls13.git/commit
runtime: fix final stack split in exitsyscall
authorAustin Clements <austin@google.com>
Fri, 24 Nov 2017 15:12:44 +0000 (10:12 -0500)
committerAustin Clements <austin@google.com>
Fri, 24 Nov 2017 15:48:04 +0000 (15:48 +0000)
commitbe589f8d2b721aa86fd5e406733f61a5ed245d3a
tree22e88901c20fc7f393fe5deda73bee1c4fee2b25
parent2e1f07133d2447125cd45887d6d54e6aa53ba5b5
runtime: fix final stack split in exitsyscall

exitsyscall should be recursively nosplit, but we don't have a way to
annotate that right now (see #21314). There's exactly one remaining
place where this is violated right now: exitsyscall -> casgstatus ->
print. The other prints in casgstatus are wrapped in systemstack
calls. This fixes the remaining print.

Updates #21431 (in theory could fix it, but that would just indicate
that we have a different G status-related crash and we've *never* seen
that failure on the dashboard.)

Change-Id: I9a5e8d942adce4a5c78cfc6b306ea5bda90dbd33
Reviewed-on: https://go-review.googlesource.com/79815
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Rick Hudson <rlh@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/proc.go