Re: [linux-yocto] [v5.2 preempt-rt][PATCH] ptrace: Remove unmatched preempt_count() issue in ptrace_stop

2019-11-17 Thread Bruce Ashfield
On Wed, Nov 13, 2019 at 12:52 AM Yongxin Liu wrote: > > Upstream commit 53da1d9456fe7f8 ("fix ptrace slowness") introduced > preempt_disable() and preempt_enable_no_resched() in function > ptrace_stop(), and they should be used together. > > In RT kernel, commit 500d5c546e46 ("signal: Revert

[linux-yocto] [v5.2 preempt-rt][PATCH] ptrace: Remove unmatched preempt_count() issue in ptrace_stop

2019-11-12 Thread Yongxin Liu
Upstream commit 53da1d9456fe7f8 ("fix ptrace slowness") introduced preempt_disable() and preempt_enable_no_resched() in function ptrace_stop(), and they should be used together. In RT kernel, commit 500d5c546e46 ("signal: Revert ptrace preempt magic") reverted commit 53da1d9456fe7f8. To make