diff options
author | Tejun Heo <tj@kernel.org> | 2024-03-25 07:21:03 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-03-25 07:21:03 -1000 |
commit | 456a78eef2670d0e9521e87f35a056de8fec7fb2 (patch) | |
tree | 15e8f19f5f70e9b72f508940dca95b554e8a665a /tools/testing/selftests/net/lib/py/utils.py | |
parent | f09b10b6f442656524d2ee26e45966401a14f54b (diff) |
workqueue: Remember whether a work item was on a BH workqueue
Add an off-queue flag, WORK_OFFQ_BH, that indicates whether the last
workqueue the work item was on was a BH one. This will be used to test
whether a work item is BH in cancel_sync path to implement atomic
cancel_sync'ing for BH work items.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Lai Jiangshan <jiangshanlai@gmail.com>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions