]> Cypherpunks repositories - gostls13.git/commit
runtime: simplify sigprof traceback interlocking
authorAustin Clements <austin@google.com>
Mon, 23 Nov 2015 20:13:16 +0000 (15:13 -0500)
committerAustin Clements <austin@google.com>
Tue, 15 Dec 2015 20:12:17 +0000 (20:12 +0000)
commit50d8d4e834039574602df287522a25bb70c101bb
tree821039e8d1f649df96be499e5bdf80472ecd28e8
parent22a204dd0fd9003ae51318f5f67f43937b59ee87
runtime: simplify sigprof traceback interlocking

The addition of stack barrier locking to copystack subsumes the
partial fix from commit bbd1a1c for SIGPROF during copystack. With the
stack barrier locking, this commit simplifies the rule in sigprof to:
the user stack can be traced only if sigprof can acquire the stack
barrier lock.

Updates #12932, #13362.

Change-Id: I1c1f80015053d0ac7761e9e0c7437c2aba26663f
Reviewed-on: https://go-review.googlesource.com/17192
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/proc.go