[RFC] mfd: mt6358: Using a single IRQ array instead of two companion arrays?

Markus Elfring Markus.Elfring at web.de
Thu Nov 20 02:51:01 PST 2025


>> I have taken another look also at the implementation of the function “mt6358_irq_init”.
>> https://elixir.bootlin.com/linux/v6.18-rc6/source/drivers/mfd/mt6358-irq.c#L227-L293
>>
>> I see that there are two arrays allocated so far.
>> How do you think about the possibility to use a single array with the needed data instead?
> 
> It'll be easier if you just submit the patch.

I would appreciate to clarify before if the adjustment of array usage
can influence software run time characteristics in desirable directions here.
https://elixir.bootlin.com/linux/v6.18-rc6/source/include/linux/mfd/mt6358/core.h#L19-L26

Regards,
Markus



More information about the linux-arm-kernel mailing list