-------- Original Message --------
Date: Tue, 26 Feb 2013 17:58:45 +0000
From: Andrew Haley <firstname.lastname@example.org>
get_stack_bounds() was rewritten because of a small memory leak.
Instead of simply free()ing the memory to prevent the leak, it was
rewritten to use a byte-by-byte loop around read() :
Unfortunately, the performance impact of this change is tragic. As
you can imagine, tens of thousands of system calls are made whenever
get_stack_bounds() is called.
Before rewrite: typically 100 microseconds
After rewrite: typically 1500 microseconds