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:
parent
bed9e48c12
commit
674cd6fd48
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue