diff options
author | Richard Henderson <rth@twiddle.net> | 2010-07-27 10:25:30 -0700 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2010-07-29 08:32:28 +0200 |
commit | 9955ffac9a31aad346fe7f0fcefebe88da7f9df5 (patch) | |
tree | 6717fb9286c007302a39846fd6ecb4be088c0f18 /linux-user/alpha | |
parent | d97ef72eed202460a13dfe4a92fd95ac9e6ddf11 (diff) |
linux-user: Reduce lseek+reads while loading elf files.
Define BPRM_BUF_SIZE to 1k and read that amount initially. If the
data we want from the binary is in this buffer, use it instead of
reading from the file again.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'linux-user/alpha')
0 files changed, 0 insertions, 0 deletions