[dm-devel] [PATCH] dm-kcopyd avoid spin_lock_irqsave from process context

Damien Le Moal Damien.LeMoal at wdc.com
Thu May 27 05:19:18 UTC 2021


On 2021/05/26 23:18, Mikulas Patocka wrote:
> The functions "pop", "push_head", "do_work" can only be called from
> process context. Therefore, we can replace
> spin_lock_irqsave/spin_unlock_irqrestore with
> spin_lock_irq/spin_unlock_irq.
> 
> Signed-off-by: Mikulas Patocka <mpatocka at redhat.com>

Reviewed-by: Damien Le Moal <damien.lemoal at wdc.com>


-- 
Damien Le Moal
Western Digital Research






More information about the dm-devel mailing list