Re: [PATCH 3/3 v2] blk-mq: Use llist_head for blk_cpu_done

2021-01-27 Thread Daniel Wagner
On Mon, Jan 25, 2021 at 10:54:12AM +0100, Sebastian Andrzej Siewior wrote: > With llist_head it is possible to avoid the locking (the irq-off region) > when items are added. This makes it possible to add items on a remote > CPU without additional locking. > llist_add() returns true if the list was

Re: [PATCH 3/3 v2] blk-mq: Use llist_head for blk_cpu_done

2021-01-26 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH 3/3 v2] blk-mq: Use llist_head for blk_cpu_done

2021-01-25 Thread Sebastian Andrzej Siewior
With llist_head it is possible to avoid the locking (the irq-off region) when items are added. This makes it possible to add items on a remote CPU without additional locking. llist_add() returns true if the list was previously empty. This can be used to invoke the SMP function call / raise sofirq