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

Markus Elfring Markus.Elfring at web.de
Wed Jul 31 01:20:58 PDT 2024


…
>> 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



More information about the linux-riscv mailing list