]> Cypherpunks repositories - gostls13.git/commit
runtime: round stack size to power of 2.
authorShenghou Ma <minux.ma@gmail.com>
Fri, 7 Mar 2014 20:11:16 +0000 (15:11 -0500)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 7 Mar 2014 20:11:16 +0000 (15:11 -0500)
commit84570aa9a18fa46dba1402004a54cedc7cf5e043
treef1cae531ab508b4f3ff452d9bba885eb1fdb0d98
parent3d5e219e020115e98762821ac688e77b1b50787d
runtime: round stack size to power of 2.
Fixes build on windows/386 and plan9/386.
Fixes #7487.

LGTM=mattn.jp, dvyukov, rsc
R=golang-codereviews, mattn.jp, dvyukov, 0intro, rsc
CC=golang-codereviews
https://golang.org/cl/72360043
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.c
src/pkg/runtime/runtime.h
src/pkg/runtime/stack.c
src/pkg/runtime/stack.h