Re: [PATCH] consolidate sys_ptrace

David Howells
2005-08-10T09:36:45Z

Christoph Hellwig <hch@lst.de> wrote:

> The sys_ptrace boilerplate code (everything outside the big switch
> statement for the arch-specific requests) is shared by most
> architectures. This patch moves it to kernel/ptrace.c and leaves the
> arch-specific code as arch_ptrace.

Looks okay for FRV.

My biggest concern with doing things like this is that it eats away at the
kernel stack space available for a syscall, though I don't think it'll be too
much of a problem in this case.

Is there also a way to get rid of the lock_kernel() call?

David