diff options
author | 2013-03-20 03:28:01 +0800 | |
---|---|---|
committer | 2013-03-20 10:19:09 -0700 | |
commit | 12ee4fc67c00895b3d740297f7ca447239c1983b (patch) | |
tree | a6e57caeada640e5b11100400e5acbec5f28425d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | workqueue: restore CPU affinity of unbound workers on CPU_ONLINE (diff) | |
download | linux-dev-12ee4fc67c00895b3d740297f7ca447239c1983b.tar.xz linux-dev-12ee4fc67c00895b3d740297f7ca447239c1983b.zip |
workqueue: add missing POOL_FREEZING
get_unbound_pool() forgot to set POOL_FREEZING if workqueue_freezing
is set and a new pool could go out of sync with the global freezing
state.
Fix it by adding POOL_FREEZING if workqueue_freezing. wq_mutex is
already held so no further locking is necessary. This also removes
the unused static variable warning when !CONFIG_FREEZER.
tj: Updated commit message.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions