Re: [PATCH 2/2] Use write_trylock_irqsave in ptrace_attach

2007-05-10 Thread Sripathi Kodi
Hi Andrew, On Thursday 10 May 2007 07:20, you wrote: > On Wed, 9 May 2007 14:13:27 +0530 Sripathi Kodi <[EMAIL PROTECTED]> wrote: > Your changelogs aren't vey logical. The context for this change is off in > > a different patch. I reproduce it here: > > I am trying to fix the BUG I mentioned

[PREEMPT_RT] [PATCH 2/2] Use write_trylock_irqsave in ptrace_attach

2007-05-09 Thread Sripathi Kodi
Hi Ingo, This patch makes ptrace_attach() use the new API write_trylock_irqsave(). With this, the code in ptrace_attach() will be same for mainline and -rt. On -rt, write_trylock_irqsave() doesn't disable irqs and hence the problem is avoided. Signed-off-by: Sripathi Kodi <[EMAIL PROTECTED]>

Re: [PATCH 2/2] Use write_trylock_irqsave in ptrace_attach

2007-05-09 Thread Sripathi Kodi
On Thursday 10 May 2007 07:20, Andrew Morton wrote: > On Wed, 9 May 2007 14:13:27 +0530 Sripathi Kodi <[EMAIL PROTECTED]> wrote: > > Hi, > > > > This patch makes ptrace_attach use write_trylock_irqsave. > > > > Signed-off-by: Sripathi Kodi <[EMAIL PROTECTED]> > > > > --- > > kernel/ptrace.c |

Re: [PATCH 2/2] Use write_trylock_irqsave in ptrace_attach

2007-05-09 Thread Andrew Morton
On Wed, 9 May 2007 14:13:27 +0530 Sripathi Kodi <[EMAIL PROTECTED]> wrote: > Hi, > > This patch makes ptrace_attach use write_trylock_irqsave. > > Signed-off-by: Sripathi Kodi <[EMAIL PROTECTED]> > > --- > kernel/ptrace.c |7 +++ > 1 files changed, 3 insertions(+), 4 deletions(-) > >

[PATCH 2/2] Use write_trylock_irqsave in ptrace_attach

2007-05-09 Thread Sripathi Kodi
Hi, This patch makes ptrace_attach use write_trylock_irqsave. Signed-off-by: Sripathi Kodi <[EMAIL PROTECTED]> --- kernel/ptrace.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) Index: linux-2.6.21/kernel/ptrace.c ==