large global static arrays

Paulo Miguel Almeida paulo.miguel.almeida.rodenas at gmail.com
Thu Dec 15 01:29:44 EST 2022


On Thu, Dec 15, 2022 at 11:44:32AM +0530, Ani Sinha wrote:
> Hi
> 
> I’m curious to know whether large static arrays can be declared inside
> any module ( kernel source .c file). I am aware that kernel stack
> space can be limited and so within the function it’s not a good idea
> to declare large sized arrays. I’m just wondering if the same
> restriction applies to global declaration of arrays.

I'll bite. What are you trying to do?

- Paulo A.



More information about the Kernelnewbies mailing list