commit | 9aa97968ed75103c1f8a18e079b73328710ebe1e | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <dvlasenk@redhat.com> | Fri Aug 19 17:07:38 2011 +0200 |
committer | Denys Vlasenko <dvlasenk@redhat.com> | Tue Aug 23 12:53:01 2011 +0200 |
tree | 67f80040815aca748c6f1321b14d6921eff23378 | |
parent | 31f9cb6f4889c4b3b28993eb259f20ef097b2b6a [diff] |
Optimize sys_old_mmap * mem.c (sys_old_mmap): For Ia64 and 32-bit personality of x86-64, copy narrow parameters from userspace by single umove, not by six separate ones; then assign them to long u_arg[i]. For SH[64], avoid copying of tcp->u_arg. (sys_mmap): Add FIXME comment - SH64 and i386 seem to be handled differently for no apparent reason. * test/mmap_offset_decode.c: New test program, illustrates FIXME. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>