HFI1: working but a bit slow

This commit is contained in:
Balazs Gerofi
2017-08-16 17:06:52 +09:00
parent 7f03c18d4d
commit 39deff4e10
4 changed files with 41 additions and 21 deletions

View File

@@ -3096,9 +3096,9 @@ SYSCALL_DECLARE(writev)
struct iovec *iovec = (struct iovec *)ihk_mc_syscall_arg1(ctx);
int iovcnt = ihk_mc_syscall_arg2(ctx);
void *private_data = proc->fd_priv_table[fd];
if (private_data) hfi1_aio_write(private_data, iovec, iovcnt);
return 1;
// return syscall_generic_forwarding(__NR_writev, ctx);
//if (private_data) hfi1_aio_write(private_data, iovec, iovcnt);
//return 1;
return syscall_generic_forwarding(__NR_writev, ctx);
}
SYSCALL_DECLARE(read)