]> git.lizzy.rs Git - rust.git/commitdiff
rt: Reduce the linux red zone to 2K
authorBrian Anderson <banderson@mozilla.com>
Tue, 20 Dec 2011 20:07:23 +0000 (12:07 -0800)
committerBrian Anderson <banderson@mozilla.com>
Tue, 20 Dec 2011 22:02:59 +0000 (14:02 -0800)
src/rt/rust_task.cpp

index 4604b89b95c28a586dea1c61b9977804f17c7e28..2e17075ee5913e9a4de7d323604ffe2b47a5ce04 100644 (file)
@@ -18,8 +18,8 @@
 // The amount of extra space at the end of each stack segment, available
 // to the rt, compiler and dynamic linker for running small functions
 // FIXME: We want this to be 128 but need to slim the red zone calls down
-#define RZ_LINUX_32 (1024*20)
-#define RZ_LINUX_64 (1024*20)
+#define RZ_LINUX_32 (1024*2)
+#define RZ_LINUX_64 (1024*2)
 #define RZ_MAC_32   (1024*20)
 #define RZ_MAC_64   (1024*20)
 #define RZ_WIN_32   (1024*20)