diff options
author | Tejun Heo <tj@kernel.org> | 2012-07-22 10:16:34 -0700 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2012-07-25 09:50:43 +0100 |
commit | 5556f0d930354f7172411b5c70a5b5fcfaa7f6bc (patch) | |
tree | 3bdcc17e0e2dfb793ce8ccaef1aa124bfef79bca /Documentation/workqueue.txt | |
parent | 700cabaed8f7cf3847e58e1a6ae72bc1dc79f78d (diff) |
workqueue: fix spurious CPU locality WARN from process_one_work()
25511a4776 "workqueue: reimplement CPU online rebinding to handle idle
workers" added CPU locality sanity check in process_one_work(). It
triggers if a worker is executing on a different CPU without UNBOUND
or REBIND set.
This works for all normal workers but rescuers can trigger this
spuriously when they're serving the unbound or a disassociated
global_cwq - rescuers don't have either flag set and thus its
gcwq->cpu can be a different value including %WORK_CPU_UNBOUND.
Fix it by additionally testing %GCWQ_DISASSOCIATED.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
LKML-Refence: <20120721213656.GA7783@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/workqueue.txt')
0 files changed, 0 insertions, 0 deletions