Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workqueue helpers rc4 #259

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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