Re: [PATCH 14/14] ptrace: remove the extra wake_up_process() from ptrace_detach()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tejun Heo
Date: Monday, November 29, 2010 - 6:55 am

Hello,

On 11/28/2010 09:44 PM, Oleg Nesterov wrote:

Eh, well, you've already found enough holes in the patchset.  It's
like a swiss cheese.  I'll update and repost.


Another thing is that the use of wake_up_process() in ptrace is rather
scary even in ptrace_resume().  It will wake up even uninterruptible
sleeps.  Is there any reason it's not just waking up
TASK_INTERRUPTIBLE | STOPPED | TRACED?

Thanks.

-- 
tejun
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 14/14] ptrace: remove the extra wake_up_process ..., Tejun Heo, (Mon Nov 29, 6:55 am)