Re: [v8 3/3] dmaengine: add driver for Sophgo CV18XX/SG200X dmamux

From: Markus Elfring
Date: Wed Jul 31 2024 - 04:22:10 EST



>> Under which circumstances would you become interested to apply a statement
>> like “guard(spinlock_irqsave)(&dmamux->lock);”?
>> https://elixir.bootlin.com/linux/v6.10.2/source/include/linux/spinlock.h#L574

> This is very useful and I am pretty intersted, but I am not sure it
> is suitable. Could you share some technical detail (or some documents)
> about this method?

Further applications of scope-based resource management can become more helpful,
can't they?

Would you like to take another look at corresponding information sources?

Example:
Articles by Javier Carrasco Cruz
Linux Kernel Development - Automatic Cleanup
https://javiercarrascocruz.github.io/kernel-auto-cleanup-1
June 2024

Regards,
Markus