Re: [PATCH 0/12] ptrace: cleaning up ptrace_stop

2022-05-02 Thread Sebastian Andrzej Siewior
On 2022-04-29 16:46:59 [-0500], Eric W. Biederman wrote: > > The states TASK_STOPPED and TASK_TRACE are special in they can not > handle spurious wake-ups. This plus actively depending upon and > changing the value of tsk->__state causes problems for PREEMPT_RT and > Peter's freezer rewrite. PRE

[PATCH 0/12] ptrace: cleaning up ptrace_stop

2022-04-29 Thread Eric W. Biederman
The states TASK_STOPPED and TASK_TRACE are special in they can not handle spurious wake-ups. This plus actively depending upon and changing the value of tsk->__state causes problems for PREEMPT_RT and Peter's freezer rewrite. There are a lot of details we have to get right to sort out the techn