Re: [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race

From: Luming Yu
Date: Tue Jun 03 2008 - 02:04:55 EST


On Tue, May 27, 2008 at 2:25 PM, Petr Tesarik <ptesarik@xxxxxxx> wrote:
> On Mon, 2008-05-26 at 23:12 -0700, Roland McGrath wrote:
>> > [<a00000010000a9f0>] skip_rbs_switch+0xe0/0x110
>> > sp=e000000141c9fe30 bsp=e000000141c90cf8
>> > [<a000000000010740>] __kernel_syscall_via_break+0x0/0x20
>> > sp=e000000141ca0000 bsp=e000000141c90cf8
>
> Indeed, there seems to be a large hole here. So, this is either a bug in
> the unwinder, or a bug in the RBS synchronization, which causes
> corruption. My test machine currently needs some work to run 2.6.25
> again, but I'll try your test case as soon as I re-install it later this
> week.

Just want to check if the test case works for you?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/