mfd: mt6358: Using a single IRQ array instead of two companion arrays?
Hello,
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?
Regards,
Markus
Quoted 7 lines · Markus Elfring
Hello,
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-L293I 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.
Signature · 1 line
Lee Jones [李琼斯]
Quoted 7 lines
Quoted 5 lines
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-L293I 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