diff options
| author | Russ Cox <rsc@golang.org> | 2012-02-24 15:28:51 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2012-02-24 15:28:51 -0500 |
| commit | 102274a30e5d2df4d13d5fad50c484f78904236a (patch) | |
| tree | 20384f9d94d1d7c9e934014c7d219c5be07c4aed /src/pkg/runtime/thread_openbsd.c | |
| parent | d8ccebfffa40b016d9e90713ce0430c37d98175c (diff) | |
| download | go-102274a30e5d2df4d13d5fad50c484f78904236a.tar.xz | |
runtime: size arena to fit in virtual address space limit
For Brad.
Now FreeBSD/386 binaries run on nearlyfreespeech.net.
Fixes #2302.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5700060
Diffstat (limited to 'src/pkg/runtime/thread_openbsd.c')
| -rw-r--r-- | src/pkg/runtime/thread_openbsd.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pkg/runtime/thread_openbsd.c b/src/pkg/runtime/thread_openbsd.c index efe03e3711..704d95a3c6 100644 --- a/src/pkg/runtime/thread_openbsd.c +++ b/src/pkg/runtime/thread_openbsd.c @@ -201,3 +201,9 @@ runtime·sigpanic(void) } runtime·panicstring(runtime·sigtab[g->sig].name); } + +uintptr +runtime·memlimit(void) +{ + return 0; +} |
