commit | 18aa9effad4adb2c1efe123af4eb24fec9f59b30 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Jun 29 10:07:13 2010 +0200 |
committer | Tejun Heo <tj@kernel.org> | Tue Jun 29 10:07:13 2010 +0200 |
tree | 76975b37ae0ef1ebf460aaab68359ed7a12fe37a | |
parent | 7a22ad757ec75186ad43a5b4670fa7423ee8f480 [diff] |
workqueue: implement WQ_NON_REENTRANT With gcwq managing all the workers and work->data pointing to the last gcwq it was on, non-reentrance can be easily implemented by checking whether the work is still running on the previous gcwq on queueing. Implement it. Signed-off-by: Tejun Heo <tj@kernel.org>