summaryrefslogtreecommitdiff
path: root/drivers/firmware/google
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2024-01-29 23:11:55 -1000
committerMike Snitzer <snitzer@kernel.org>2024-03-02 10:30:36 -0500
commitc375b223338828f29aed76625b33be6d3a21f8af (patch)
tree505259bad6ac4cb1034789bf2e09d7aa51fc2ece /drivers/firmware/google
parentfb6ad4aec1d02079250c5935b6946b216e048434 (diff)
dm-verity: 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 commit converts dm-verity from tasklet to BH workqueue. It backfills tasklet code that was removed with commit 0a9bab391e33 ("dm-crypt, dm-verity: disable tasklets") and tweaks to use BH workqueue (and does some renaming). This is a minimal conversion which doesn't rename the related names including the "try_verify_in_tasklet" option. If this patch is applied, a follow-up patch would be necessary. I couldn't decide whether the option name would need to be updated too. Signed-off-by: Tejun Heo <tj@kernel.org> [snitzer: rename 'use_tasklet' to 'use_bh_wq' and 'in_tasklet' to 'in_bh'] Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/firmware/google')
0 files changed, 0 insertions, 0 deletions