Messages in this thread | | | Date | Thu, 5 Feb 2015 18:18:59 +0100 | From | Oleg Nesterov <> | Subject | Re: [PATCH] de_thread: Move notify_count write under lock |
| |
On 02/05, Kirill Tkhai wrote: > > Other solution is in the patch below.
I like your previous patch more ;)
> Can't (sig->notify_count == -1) be visible earlier than tsk->signal->group_exit_task > in exit_notify()?
Yes, please see another email I sent. Sorry again for missing your point.
> tasklist_lock is held in exit_notify(), but de_thread() actions (notify_count and > group_exit_task writes) are independent from it (another lock is held there). ^^^^^^^^^^^^^^^^^^^^^^^^^^
Yes, I missed this.
Oleg.
| |