larger i/o buffer for exec()

. makes exec() for large executables (e.g. clang, gcc)
    significantly faster

Thanks to Antoine Leca.
This commit is contained in:
Ben Gras 2011-05-12 19:04:55 +02:00
parent bed9e48c12
commit 674cd6fd48

View file

@ -552,7 +552,7 @@ phys_bytes seg_bytes /* how much is to be transferred? */
unsigned n, o;
u64_t new_pos;
unsigned int cum_io;
char buf[1024];
static char buf[128 * 1024];
assert((seg == T)||(seg == D));