Messages in this thread | | | Date | Mon, 6 Jul 2020 10:59:45 -0400 | From | Tejun Heo <> | Subject | Re: [PATCH v3] kthread: Work could not be queued when worker being destroyed |
| |
On Sun, Jul 05, 2020 at 09:30:18AM +0800, qiang.zhang@windriver.com wrote: > From: Zhang Qiang <qiang.zhang@windriver.com> > > 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 <qiang.zhang@windriver.com> > Suggested-by: Petr Mladek <pmladek@suse.com> > Reviewed-by: Petr Mladek <pmladek@suse.com>
Andrew already brought this up but can you please provide some context on why you're making this change?
Thanks.
-- tejun
| |