diff options
| author | Tejun Heo <tj@kernel.org> | 2026-09-01 11:09:28 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-09-08 07:31:23 -1000 |
| commit | 31e33de1f4e159c7c6c44001fbd3398d53b0311d (patch) | |
| tree | 0c729485dd6ec6c30528d5786e2e33eac6175e47 /include/linux/workqueue.h | |
| parent | 84a42d3829f0088967411106b81e942a67d0b53c (diff) | |
| download | linux-next-31e33de1f4e159c7c6c44001fbd3398d53b0311d.tar.gz linux-next-31e33de1f4e159c7c6c44001fbd3398d53b0311d.zip | |
workqueue: Maintain pwq->total_in_flight
pwq_busy() scans all of pwq->nr_in_flight[] to tell whether anything is in
flight. Maintain the sum in pwq->total_in_flight, which fits in existing
padding, and test that instead.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
