回复: [PATCH v4] kthread: Work could not be queued when worker being destroyed

2020-07-07 Thread Zhang, Qiang
...@infradead.org; t...@kernel.org; a...@linux-foundation.org; naresh.kamb...@linaro.org; mm-comm...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH v4] kthread: Work could not be queued when worker being destroyed On Mon 2020-07-06 13:46:47, qiang.zh...@windriver.com wrote: > From: Zhang Qi

Re: [PATCH v4] kthread: Work could not be queued when worker being destroyed

2020-07-07 Thread Petr Mladek
On Mon 2020-07-06 13:46:47, qiang.zh...@windriver.com wrote: > From: Zhang Qiang > > Before the work is put into the queue of the worker thread, > the state of the worker thread needs to be detected,because > the worker thread may be in the destruction state at this time. > > Signed-off-by: Zhan

[PATCH v4] kthread: Work could not be queued when worker being destroyed

2020-07-07 Thread qiang.zhang
From: Zhang Qiang Before the work is put into the queue of the worker thread, the state of the worker thread needs to be detected,because the worker thread may be in the destruction state at this time. Signed-off-by: Zhang Qiang Suggested-by: Petr Mladek Reviewed-by: Petr Mladek --- v1->v2: