Re: blk-softirq vs smp_call_function_single_async()

From: Christoph Hellwig
Date: Mon Jun 08 2020 - 12:42:59 EST


On Mon, Jun 08, 2020 at 06:40:09PM +0200, Peter Zijlstra wrote:
> There isn't one, it was meant to be used with static allocations.
>
> Frederic proposed changing all these to irq_work, and I think I'll go do
> that. First dinner though.

The irq_work API looks reasonable. What are the tradeoffs for
smp_call_single_async vs irq_work?