Messages in this thread | | | Date | Tue, 16 Apr 2013 00:59:27 +0200 | From | Frederic Weisbecker <> | Subject | Re: [PATCH 5/5] ptrace: Revert "Prepare to fix racy accesses on task breakpoints" |
| |
On Sun, Apr 14, 2013 at 06:05:41PM +0200, Oleg Nesterov wrote: > This reverts commit bf26c018490c2fce7fe9b629083b96ce0e6ad019. > > The patch was fine but we can no longer race with SIGKILL after > 9899d11f "ptrace: ensure arch_ptrace/ptrace_request can never race > with SIGKILL", the __TASK_TRACED tracee can't be woken up and > ->ptrace_bps[] can't go away. > > Now that ptrace_get_breakpoints/ptrace_put_breakpoints have no > callers, we can kill them and remove task->ptrace_bp_refcnt. > > Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Thanks a lot!
| |