07.11.2017 11:03, Kirill Tkhai пишет:
>>> Couldn't this change introduce a deadlock like below?
>>>                                                           [thread]
>>> nfs_callback_down()                                       
>>> nfs41_callback_svc()
>>>    mutex_lock(&nfs_callback_mutex);                       
>>>    kthread_stop(cb_info->task);                           
>>>       wake_up_process();                                  
>>>       wait_for_completion(&kthread->exited);              
> 
> And what about above one?
> 

Good catch. Need to think more about it then.
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to