From e4c027446ec0d985be98dcbdce2b80308b88b12a Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 27 Feb 2012 14:01:36 -0800 Subject: Revert "rt: Reconfigure the C stack for valgrind each time it's used" This reverts commit 859e0256524a1f19ca0c79f518d2bb396355f174. This ended up not fixing the '0 bytes lost' problem and has some performance impact. --- src/rt/rust_task_thread.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rt/rust_task_thread.cpp') diff --git a/src/rt/rust_task_thread.cpp b/src/rt/rust_task_thread.cpp index a83f890d62b..dde16ad70bd 100644 --- a/src/rt/rust_task_thread.cpp +++ b/src/rt/rust_task_thread.cpp @@ -371,6 +371,7 @@ rust_task_thread::prepare_c_stack(rust_task *task) { I(this, !extra_c_stack); if (!cached_c_stack && !task->have_c_stack()) { cached_c_stack = create_stack(kernel, C_STACK_SIZE); + prepare_valgrind_stack(cached_c_stack); } } -- cgit 1.4.1-3-g733a5