diff options
author | Tejun Heo <tj@kernel.org> | 2024-02-04 11:34:28 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-02-05 13:22:34 -1000 |
commit | 7245d24f874d781cf3f1530e6d24e1e0eba4269a (patch) | |
tree | bac443bc44aac60a304e1bf6ecc0326b9893583b /rust/alloc/alloc.rs | |
parent | 8eb17dc1a6b5db7e89681f59285242af8d182f95 (diff) |
backtracetest: Convert from tasklet to BH workqueue
The only generic interface to execute asynchronously in the BH context is
tasklet; however, it's marked deprecated and has some design flaws. To
replace tasklets, BH workqueue support was recently added. A BH workqueue
behaves similarly to regular workqueues except that the queued work items
are executed in the BH context.
This patch converts backtracetest from tasklet to BH workqueue.
- Replace "irq" with "bh" in names and message to better reflect what's
happening.
- Replace completion usage with a flush_work() call.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Diffstat (limited to 'rust/alloc/alloc.rs')
0 files changed, 0 insertions, 0 deletions