about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-12-20 12:07:23 -0800
committerBrian Anderson <banderson@mozilla.com>2011-12-20 14:02:59 -0800
commit2e230b1cf943e66f4379a48c54e1e217c63878fa (patch)
tree9c24d334ddb90841e32e5d0ebdb00fcd1954eaf7 /src/rt/rust_task.cpp
parent6443a7b513eb41448dd22cc7c042c59b088aff18 (diff)
downloadrust-2e230b1cf943e66f4379a48c54e1e217c63878fa.tar.gz
rust-2e230b1cf943e66f4379a48c54e1e217c63878fa.zip
rt: Reduce the linux red zone to 2K
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 4604b89b95c..2e17075ee59 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -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)