Re: [PATCH v2] workqueue: Warn when work flush own workqueue

2020-08-25 Thread Dan Carpenter
We have asked Markus to stop harrassing people about commit messages but he refuses so I think he was banned from vger at the start of the month. On Tue, Aug 25, 2020 at 04:55:52PM +0800, qianli zhao wrote: > Markus > > Thanks for your suggestion,and sorry for my poor wording. > > On Tue, Aug 25

Re: [PATCH v2] workqueue: Warn when work flush own workqueue

2020-08-25 Thread qianli zhao
Markus Thanks for your suggestion,and sorry for my poor wording. On Tue, Aug 25, 2020 at 4:00 PM Markus Elfring wrote: > > > Flushing own workqueue or work self in work context will lead to > > a deadlock. > > I imagine that the wording “or work self” can become clearer another bit. > > > > Catc

[PATCH v2] workqueue: Warn when work flush own workqueue

2020-08-24 Thread Qianli Zhao
From: Qianli Zhao Flushing own workqueue or work self in work context will lead to a deadlock. Catch this incorrect usage and issue a warning when issue happened crash> ps 10856 PIDPPID CPU TASK ST COMM 108562 2 ffc873428080 UN [kworker/u16:15] crash> bt 10856 PID