Re: [PATCH] workqueue: Fix possible unexpectedly worker wakeup before started

2014-02-19 Thread Lai Jiangshan
On 02/20/2014 09:50 AM, Lai Jiangshan wrote: > On 02/20/2014 08:11 AM, Tejun Heo wrote: >> Hello, Lai. >> >> On Wed, Feb 19, 2014 at 11:47:58AM +0800, Lai Jiangshan wrote: >>> If a worker is wokenup unexpectedly, it will start to work incorretly. >>> Although it hardly happen, we should catch it

Re: [PATCH] workqueue: Fix possible unexpectedly worker wakeup before started

2014-02-19 Thread Lai Jiangshan
On 02/20/2014 08:11 AM, Tejun Heo wrote: > Hello, Lai. > > On Wed, Feb 19, 2014 at 11:47:58AM +0800, Lai Jiangshan wrote: >> If a worker is wokenup unexpectedly, it will start to work incorretly. >> Although it hardly happen, we should catch it and wait for being started >> if it does happen. >

Re: [PATCH] workqueue: Fix possible unexpectedly worker wakeup before started

2014-02-19 Thread Tejun Heo
Hello, Lai. On Wed, Feb 19, 2014 at 11:47:58AM +0800, Lai Jiangshan wrote: > If a worker is wokenup unexpectedly, it will start to work incorretly. > Although it hardly happen, we should catch it and wait for being started > if it does happen. Can this actually happen? If so, how? >

Re: [PATCH] workqueue: Fix possible unexpectedly worker wakeup before started

2014-02-19 Thread Tejun Heo
Hello, Lai. On Wed, Feb 19, 2014 at 11:47:58AM +0800, Lai Jiangshan wrote: If a worker is wokenup unexpectedly, it will start to work incorretly. Although it hardly happen, we should catch it and wait for being started if it does happen. Can this actually happen? If so, how? Signed-off-by:

Re: [PATCH] workqueue: Fix possible unexpectedly worker wakeup before started

2014-02-19 Thread Lai Jiangshan
On 02/20/2014 08:11 AM, Tejun Heo wrote: Hello, Lai. On Wed, Feb 19, 2014 at 11:47:58AM +0800, Lai Jiangshan wrote: If a worker is wokenup unexpectedly, it will start to work incorretly. Although it hardly happen, we should catch it and wait for being started if it does happen. Can this

Re: [PATCH] workqueue: Fix possible unexpectedly worker wakeup before started

2014-02-19 Thread Lai Jiangshan
On 02/20/2014 09:50 AM, Lai Jiangshan wrote: On 02/20/2014 08:11 AM, Tejun Heo wrote: Hello, Lai. On Wed, Feb 19, 2014 at 11:47:58AM +0800, Lai Jiangshan wrote: If a worker is wokenup unexpectedly, it will start to work incorretly. Although it hardly happen, we should catch it and wait for

[PATCH] workqueue: Fix possible unexpectedly worker wakeup before started

2014-02-18 Thread Lai Jiangshan
If a worker is wokenup unexpectedly, it will start to work incorretly. Although it hardly happen, we should catch it and wait for being started if it does happen. Signed-off-by: Lai Jiangshan --- kernel/workqueue.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

[PATCH] workqueue: Fix possible unexpectedly worker wakeup before started

2014-02-18 Thread Lai Jiangshan
If a worker is wokenup unexpectedly, it will start to work incorretly. Although it hardly happen, we should catch it and wait for being started if it does happen. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- kernel/workqueue.c |6 ++ 1 files changed, 6 insertions(+), 0