Re: [PATCH v2 0/5] ptrace-vs-PREEMPT_RT and freezer rewrite

From: Eric W. Biederman
Date: Fri Apr 22 2022 - 18:05:59 EST


Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> writes:

> On 2022-04-21 17:02:48 [+0200], Peter Zijlstra wrote:
>> Find here a new posting of the ptrace and freezer patches :-)
>>
>> The majority of the changes are in patch 2, which with much feedback from Oleg
>> and Eric has changed lots.
>>
>> I'm hoping we're converging on something agreeable.
>
> I tested this under RT (had to remove the preempt-disable section in
> ptrace_stop()) with ssdd [0]. It forks a few tasks and then
> PTRACE_SINGLESTEPs them for a few iterations.

Out of curiosity why did you need to remove the preempt_disable section
on PREEMPT_RT? It should have lasted for just a moment until schedule
was called.

Eric