Re: [PATCH] Simplify ptrace handling

From: Christoph Hellwig <>
Date: 2007-10-20 06:20:21
On Fri, Oct 19, 2007 at 09:55:29PM +0200, Petr Tesarik wrote:
> Hi,
> with Shaohua Li's patch we can get rid of much of the ugly code in
> arch/ia64/kernel/ptrace.c:
>  - find_thread_for_addr() is no longer needed
>  - most calls to ia64_poke() and ia64_peek() can be converted to
>    simple accesses to the VM
> This patch is incremental with Shaohua Li's fix, so it can't be applied
> until we resolve the only remaining problem (race condition in
> ptrace_stop). I'm only sending it to demonstrate the benefits of that
> patch.

Nice.  With this you should also be able to switch to the generic sys_ptrace
easily, could you add that to your patch?

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Sat Oct 20 06:20:44 2007

This archive was generated by hypermail 2.1.8 : 2007-10-20 06:21:01 EST