[PATCH 2/2] workqueue: fix a possible race condition between rescuer and pwq-release

2014-04-18 Thread Tejun Heo
Ah, you're right. Fixed. Thanks. -- 8< -- >From 77668c8b559e4fe2acf2a0749c7c83cde49a5025 Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Fri, 18 Apr 2014 11:04:16 -0400 There is a race condition between rescuer_thread() and pwq_unbound_release_workfn(). Even after a pwq is

Re: [PATCH 2/2] workqueue: fix a possible race condition between rescuer and pwq-release

2014-04-18 Thread Lai Jiangshan
On Fri, Apr 18, 2014 at 11:06 PM, Tejun Heo wrote: > Hello, > > Applied to wq/for-3.15-fixes with put_pwq() relocated and patch > description and comments updated. > > Thanks. > 8< > From 4b81955722abe4306096c7b0137e0491a7ba7b0e Mon Sep 17 00:00:00 2001 > From: Lai Jiangshan >

[PATCH 2/2] workqueue: fix a possible race condition between rescuer and pwq-release

2014-04-18 Thread Tejun Heo
Hello, Applied to wq/for-3.15-fixes with put_pwq() relocated and patch description and comments updated. Thanks. 8< >From 4b81955722abe4306096c7b0137e0491a7ba7b0e Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Fri, 18 Apr 2014 11:04:16 -0400 There is a race condition

[PATCH 2/2] workqueue: fix a possible race condition between rescuer and pwq-release

2014-04-18 Thread Tejun Heo
Hello, Applied to wq/for-3.15-fixes with put_pwq() relocated and patch description and comments updated. Thanks. 8 From 4b81955722abe4306096c7b0137e0491a7ba7b0e Mon Sep 17 00:00:00 2001 From: Lai Jiangshan la...@cn.fujitsu.com Date: Fri, 18 Apr 2014 11:04:16 -0400 There is a

Re: [PATCH 2/2] workqueue: fix a possible race condition between rescuer and pwq-release

2014-04-18 Thread Lai Jiangshan
On Fri, Apr 18, 2014 at 11:06 PM, Tejun Heo t...@kernel.org wrote: Hello, Applied to wq/for-3.15-fixes with put_pwq() relocated and patch description and comments updated. Thanks. 8 From 4b81955722abe4306096c7b0137e0491a7ba7b0e Mon Sep 17 00:00:00 2001 From: Lai

[PATCH 2/2] workqueue: fix a possible race condition between rescuer and pwq-release

2014-04-18 Thread Tejun Heo
Ah, you're right. Fixed. Thanks. -- 8 -- From 77668c8b559e4fe2acf2a0749c7c83cde49a5025 Mon Sep 17 00:00:00 2001 From: Lai Jiangshan la...@cn.fujitsu.com Date: Fri, 18 Apr 2014 11:04:16 -0400 There is a race condition between rescuer_thread() and pwq_unbound_release_workfn(). Even after