]> Cypherpunks repositories - gostls13.git/commit
runtime: fix memory allocation on 386
authorRuss Cox <rsc@golang.org>
Wed, 9 Feb 2011 20:08:30 +0000 (15:08 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 9 Feb 2011 20:08:30 +0000 (15:08 -0500)
commit1cc8c87dc12e6d1722acc7a3749e63848d8ea26a
treea53526d94be3c77df6642dd2e656f5a1b542bc5b
parent5b1b2ba9c79e54b3b34d066d43e88d1a4c330790
runtime: fix memory allocation on 386

BSD and Darwin require an extra page between
end and the first mapping, and Windows has various
memory in the way too.

Fixes #1464.

R=r, r2
CC=golang-dev
https://golang.org/cl/4167041
src/pkg/runtime/malloc.goc