aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2008-12-19 03:13:39 -0800
committerRuss Cox <rsc@golang.org>2008-12-19 03:13:39 -0800
commitda0a7d7b8f896bc2117ce488c4e245d626ef8aba (patch)
tree9b40150f73466d543e7724ee596fb3c4ef094e72 /src/runtime/runtime.h
parentba882f9940361e7f9f969fcc1cc613e735d38191 (diff)
downloadgo-da0a7d7b8f896bc2117ce488c4e245d626ef8aba.tar.xz
malloc bug fixes.
use malloc by default. free stacks. R=r DELTA=424 (333 added, 29 deleted, 62 changed) OCL=21553 CL=21584
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r--src/runtime/runtime.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index a8d40f84ff..fc4e5ba462 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -76,10 +76,6 @@ enum
true = 1,
false = 0,
};
-enum
-{
- SmallFreeClasses = 168, // number of small free lists in malloc
-};
/*
* structures
@@ -158,6 +154,7 @@ struct M
int32 siz1;
int32 siz2;
int32 id;
+ int32 mallocing;
Note havenextg;
G* nextg;
M* schedlink;