diff options
| author | Russ Cox <rsc@golang.org> | 2014-09-04 21:12:31 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-09-04 21:12:31 -0400 |
| commit | db58ab96fa4767ca6144678d63203be5381709d6 (patch) | |
| tree | 734bf2f8992b8992c96a8a56c946acfc33db05f2 /src/pkg/runtime/malloc.c | |
| parent | 1a14b5bad8926941023ca310fa3b53c70717b1e2 (diff) | |
| download | go-db58ab96fa4767ca6144678d63203be5381709d6.tar.xz | |
runtime: more C to Go conversion adjustments
Mostly NOSPLIT additions.
Had to rewrite atomic_arm.c in Go because it calls lock,
and lock is too complex.
With this CL, I find no Go -> C calls that can split the stack
on any system except Solaris and Windows.
Solaris and Windows need more work and will be done separately.
LGTM=iant, dave
R=golang-codereviews, bradfitz, iant, dave
CC=dvyukov, golang-codereviews, khr, r
https://golang.org/cl/137160043
Diffstat (limited to 'src/pkg/runtime/malloc.c')
| -rw-r--r-- | src/pkg/runtime/malloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/runtime/malloc.c b/src/pkg/runtime/malloc.c index c864bc93c0..86846f3e6d 100644 --- a/src/pkg/runtime/malloc.c +++ b/src/pkg/runtime/malloc.c @@ -87,6 +87,7 @@ runtime·mlookup(void *v, byte **base, uintptr *size, MSpan **sp) return 1; } +#pragma textflag NOSPLIT void runtime·purgecachedstats(MCache *c) { |
