• Tejun Heo's avatar
    backtracetest: Convert from tasklet to BH workqueue · 7245d24f
    Tejun Heo authored
    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: default avatarTejun Heo <tj@kernel.org>
    Cc: Arjan van de Ven <arjan@linux.intel.com>
    7245d24f
backtracetest.c 1.76 KB