diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2013-10-18 10:45:19 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2013-10-18 10:45:19 +0400 |
| commit | f6329700aee750e3eaded14cf64b2971ace839f6 (patch) | |
| tree | 94dfd13c4f43f603b144b1242944e195ca8e869b /src/pkg/runtime/proc.c | |
| parent | f5d25fd695471065a474b7940ef11e006d683aac (diff) | |
| download | go-f6329700aee750e3eaded14cf64b2971ace839f6.tar.xz | |
runtime: remove nomemprof
Nomemprof seems to be unneeded now, there is no recursion.
If the recursion will be re-introduced, it will break loudly by deadlocking.
Fixes #6566.
R=golang-dev, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/14695044
Diffstat (limited to 'src/pkg/runtime/proc.c')
| -rw-r--r-- | src/pkg/runtime/proc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pkg/runtime/proc.c b/src/pkg/runtime/proc.c index eb3263fc91..de26c72d3d 100644 --- a/src/pkg/runtime/proc.c +++ b/src/pkg/runtime/proc.c @@ -133,7 +133,6 @@ runtime·schedinit(void) runtime·sched.maxmcount = 10000; runtime·precisestack = haveexperiment("precisestack"); - m->nomemprof++; runtime·mprofinit(); runtime·mallocinit(); mcommoninit(m); @@ -163,7 +162,6 @@ runtime·schedinit(void) procresize(procs); mstats.enablegc = 1; - m->nomemprof--; if(raceenabled) g->racectx = runtime·raceinit(); |
