Re: Stopped detach/attach status

2009-10-16 Thread Roland McGrath
My point was, the discussed problems with ptrace stop probably are not ptrace-only, we need other changes. Hopefully we should address them after v1. Sure. But I'd prefer to delay this discussion unless you think we should fix this right now. I'm glad to stop thinking about it for a

Re: Stopped detach/attach status

2009-10-12 Thread Oleg Nesterov
On 10/11, Roland McGrath wrote: Yes. In particular, ptrace(PTRACE_DETACH, SIGKILL) should cancel SIGNAL_STOP_STOPPED, yes? Yes. OK. SIGNAL_STOP_DEQUEUED exists for one purpose. It's to ensure that SIGCONT and SIGKILL can clear it to make complete their required effect of clearing all

Re: Stopped detach/attach status

2009-10-08 Thread Oleg Nesterov
Incomplete reply, just can't read/think/concentrate today... On 10/07, Roland McGrath wrote: We had a lengthy discussion about this. Yes. I only ever wanted that revert then because it was too late in the 2.6.30 cycle to hash this all out and get it really right. I meant that we should

Re: Stopped detach/attach status

2009-10-07 Thread Oleg Nesterov
On 10/06, Jan Kratochvil wrote: On Mon, 05 Oct 2009 04:32:08 +0200, Oleg Nesterov wrote: [...] Firstly, I think we should un-revert edaba2c5334492f82d39ec35637c6dea5176a977. This unconditional wakeup is hopelessly wrong imho, and it is removed from utrace-ptrace code. But this breaks

Re: Stopped detach/attach status

2009-10-07 Thread Roland McGrath
I do not know. I'd leave this to Roland. I mean, if he thinks this should be fixed - I'll try to fix. But. This all looks unfixeable to me. In my opinion, the kernel is obviously wrong, and test-case are wrong too. And any fix in this area is user-visible and can break the current

Re: Stopped detach/attach status

2009-10-05 Thread Jan Kratochvil
On Mon, 05 Oct 2009 04:32:08 +0200, Oleg Nesterov wrote: On 10/01, Jan Kratochvil wrote: the ptrace-testsuite http://sourceware.org/systemtap/wiki/utrace/tests currently FAILs (also) on Fedora 12 kernel-2.6.31.1-48.fc12.x86_64 for: FAIL: detach-stopped FAIL:

Re: Stopped detach/attach status

2009-10-04 Thread Oleg Nesterov
(add Roland) On 10/01, Jan Kratochvil wrote: the ptrace-testsuite http://sourceware.org/systemtap/wiki/utrace/tests currently FAILs (also) on Fedora 12 kernel-2.6.31.1-48.fc12.x86_64 for: FAIL: detach-stopped FAIL: stopped-attach-transparency Do you agree with the

Stopped detach/attach status

2009-10-01 Thread Jan Kratochvil
Hi Oleg, the ptrace-testsuite http://sourceware.org/systemtap/wiki/utrace/tests currently FAILs (also) on Fedora 12 kernel-2.6.31.1-48.fc12.x86_64 for: FAIL: detach-stopped FAIL: stopped-attach-transparency Do you agree with the testcases and is it planned to fix them

Re: Stopped detach/attach status

2009-10-01 Thread Oleg Nesterov
Hi Jan, On 10/01, Jan Kratochvil wrote: the ptrace-testsuite http://sourceware.org/systemtap/wiki/utrace/tests currently FAILs (also) on Fedora 12 kernel-2.6.31.1-48.fc12.x86_64 for: FAIL: detach-stopped Please recall our previous discussion about