diff options
author | Wenchao Hao <haowenchao22@gmail.com> | 2024-06-06 11:52:16 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-06-07 19:27:04 +0300 |
commit | 7ccc215187a78f2e5260b9ca82505219bcbec899 (patch) | |
tree | 633f74b8bd6889fc40684b5662e18dd9c1fe4476 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8a92980606e3585d72d510a03b59906e96755b8a (diff) | |
download | linux-7ccc215187a78f2e5260b9ca82505219bcbec899.tar.xz |
workqueue: Clean code in alloc_and_link_pwqs()
wq->flags would not change, so it's not necessary to check if WQ_BH
is set in loop for_each_possible_cpu(), move define and set of pools
out of loop to simpliy the code.
Signed-off-by: Wenchao Hao <haowenchao22@gmail.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