Skip to content

Conversation

@imran-kn
Copy link
Contributor

This change set adds helpers for workqueue subsystem. Test case for these helpers have been added as well.

test_find_worker_executing_work (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok
test_find_workqueue (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok
test_for_each_cpu_worker_pool (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok
test_for_each_pending_work (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok
test_for_each_pending_work_in_pool (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok
test_for_each_pending_work_of_pwq (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok
test_for_each_pending_work_on_cpu (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok
test_for_each_pool (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok
test_for_each_pool_worker (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok
test_for_each_pwq (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok
test_for_each_worker (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok
test_for_each_workqueue (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok
test_get_work_pool (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok
test_get_work_pwq (tests.linux_kernel.helpers.test_workqueue.TestWorkqueue) ... ok

@imran-kn imran-kn force-pushed the workqueue-helpers-rc4 branch from c320bf7 to 16c1fde Compare December 21, 2023 13:03
Sometimes we come across issues where due to high system load, one
or more work items could not get timely executed and this in turn
caused other issues. Besides such issues we also come across problems
arising due to racy execution of work items and several other issues
involving workers, workqueues or individual work items.

Having helpers for workqueue subsystem can help in debugging such issues.

Signed-off-by: Imran Khan <[email protected]>
@imran-kn imran-kn force-pushed the workqueue-helpers-rc4 branch from 16c1fde to efb01a8 Compare December 22, 2023 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant