Re: [PATCH] 2-ptrace_multi

From: Ulrich Drepper
Date: Sat May 20 2006 - 16:23:00 EST


On 5/20/06, Renzo Davoli <renzo@xxxxxxxxxxx> wrote:
Let me point out that PTRACE_MULTI is not only related to memory access.

You've already been told that syscalls are very fast. For any small
number of calls the overhead is neglectable. Only for possibly huge
numbers of calls (like those needed to transfer memory content) is the
overhead significant but that is irrelevant because of /proc/*/mem.

Whatever other problems you have (accessing multiple registers) is an
arch-specific problem. If this is a real problem talk to the arch
maintainer about adding a call to get all registers at once. This is
nothing which should be handled with a construct like hte
PTRACE_MULTI.
-
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/