Re: [PATCH] Simplify ptrace handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux