Re: [PATCH] 2-ptrace_multi

From: Avi Kivity
Date: Sun May 21 2006 - 08:37:48 EST


Jeff Dike wrote:
PTRACE_MULTI can be also used to optimize many other virtualized calls,
e.g. to read/write all the buffers for a readv/writev/recvmsg/sendmsg
call at once.

Here, I bet the data copying cost dominates the system call, and the
syscall overhead is minimal.

In addition, the aio API allows you to do that in two calls for an iovec of any size.

--
error compiling committee.c: too many arguments to function

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/