lkml.org 
[lkml]   [2009]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 3/4] ptrace: remove PT_DTRACE from m68k, m68knommu
From
On Fri, Apr 24, 2009 at 12:06, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Oleg Nesterov <oleg@redhat.com> writes:
>
>> m68k sets PT_DTRACE in trap_c() but never uses it.
>>
>> Signed-off-by: Oleg Nesterov <oleg@redhat.com>
>>
>>  arch/m68k/kernel/traps.c            |    1 -
>>  arch/m68knommu/kernel/asm-offsets.c |    1 -
>>  arch/m68knommu/kernel/traps.c       |    1 -
>>  3 files changed, 3 deletions(-)
>>
>> --- PTRACE/arch/m68k/kernel/traps.c~DT_3_SET  2009-04-06 00:03:35.000000000 +0200
>> +++ PTRACE/arch/m68k/kernel/traps.c   2009-04-22 21:52:23.000000000 +0200
>> @@ -1057,7 +1057,6 @@ asmlinkage void trap_c(struct frame *fp)
>>       if (fp->ptregs.sr & PS_S) {
>>               if ((fp->ptregs.vector >> 2) == VEC_TRACE) {
>>                       /* traced a trapping instruction */
>> -                     current->ptrace |= PT_DTRACE;
>
> This is supposed to be setting the TIF_DELAYED_TRACE thread flag.

This code already looks different in the m68k tree, due to your fix to
`Allow all kernel traps to be handled via exception fixups' for
ARAnyM, and some related cleanups by you and Roman.

But more interestingly, Roman's last cleanup said there's no need to
set TIF_DELAYED_TRACE?

Gr{oetje,eeting}s,
Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-04-24 12:59    [W:0.200 / U:0.360 seconds]
©2003-2014 Jasper Spaans. Advertise on this site