diff options
author | Tejun Heo <[email protected]> | 2024-02-08 14:14:16 -1000 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2024-02-09 11:13:59 -1000 |
commit | bf52b1ac6ab41a060511d56d0f2da12f3a2486db (patch) | |
tree | 41cffe46e205f7e133abb1de33b7f60b9ffa6971 /rust/kernel/workqueue.rs | |
parent | 8f172181f24bb5df7675225d9b5b66d059613f50 (diff) |
async: Use a dedicated unbound workqueue with raised min_active
Async can schedule a number of interdependent work items. However, since
5797b1c18919 ("workqueue: Implement system-wide nr_active enforcement for
unbound workqueues"), unbound workqueues have separate min_active which sets
the number of interdependent work items that can be handled. This default
value is 8 which isn't sufficient for async and can lead to stalls during
resume from suspend in some cases.
Let's use a dedicated unbound workqueue with raised min_active.
Link: http://lkml.kernel.org/r/[email protected]
Reported-by: Marek Szyprowski <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'rust/kernel/workqueue.rs')
0 files changed, 0 insertions, 0 deletions