about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-22 22:36:55 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-22 23:50:47 -0800
commitcd381333b988a3bca12d666653eb652e2f351098 (patch)
tree368e4295b724b88376fff15240d48e480b07a16e /src/rt/rust_task.cpp
parentb5c7997ef588916e566c18ba91608454bc4ffaaf (diff)
downloadrust-cd381333b988a3bca12d666653eb652e2f351098.tar.gz
rust-cd381333b988a3bca12d666653eb652e2f351098.zip
rt: Cut the red zone to 4K on linux
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index f2bb15796f2..b432a8525fc 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -16,8 +16,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*4)
+#define RZ_LINUX_64 (1024*4)
 #define RZ_MAC_32   (1024*20)
 #define RZ_MAC_64   (1024*20)
 #define RZ_WIN_32   (1024*20)