]> Cypherpunks repositories - gostls13.git/commit
runtime: increase nosplit area to 192
authorRuss Cox <rsc@golang.org>
Sat, 30 Aug 2014 04:56:52 +0000 (00:56 -0400)
committerRuss Cox <rsc@golang.org>
Sat, 30 Aug 2014 04:56:52 +0000 (00:56 -0400)
commit397bdb216f705a3e3221c98904237820d4950042
tree4bbe8e737963a97bfc27e3ddcf67b93924b8d66c
parent0316dafda26619175f35e5e89f1920ebf37c85a3
runtime: increase nosplit area to 192

In CL 131450043, which raised it to 160,
I'd raise it to 192 if necessary.
Apparently it is necessary on windows/amd64.

One note for those concerned about the growth:
in the old segmented stack world, we wasted this much
space at the bottom of every stack segment.
In the new contiguous stack world, each goroutine has
only one stack segment, so we only waste this much space
once per goroutine. So even raising the limit further might
still be a net savings.

Fixes windows/amd64 build.

TBR=r
CC=golang-codereviews
https://golang.org/cl/132480043
src/pkg/runtime/stack.go
src/pkg/runtime/stack.h
src/pkg/runtime/stack_test.go
test/nosplit.go