diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2014-06-03 15:32:52 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-06-19 12:29:12 -0400 |
commit | b62c075194f409ed887670af897ad22d44ed8ac8 (patch) | |
tree | 788003e6b449e5e00ed24c223794b2e69b431a1d /Documentation/networking/atm.txt | |
parent | 25ef09586df2b84a595c00ed058916122ff03297 (diff) | |
download | talos-obmc-linux-b62c075194f409ed887670af897ad22d44ed8ac8.tar.gz talos-obmc-linux-b62c075194f409ed887670af897ad22d44ed8ac8.zip |
workqueue: clear leftover flags when detached
When a worker is detached, the worker->flags may still have WORKER_UNBOUND
or WORKER_REBOUND, it is OK for all cases:
1) if it is a normal worker, the worker will be dead, it is OK.
2) if it is a rescuer, it may re-attach to a pool with this leftover flag[s],
it is still correct except it may cause unneeded wakeup.
It is correct but not good, so we just remove the leftover flags.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/networking/atm.txt')
0 files changed, 0 insertions, 0 deletions