This question might be worth asking in kernel Janitor mailing list. They also use a few tools for static code checking. 

On Fri, Jun 12, 2026 at 5:05 AM Agatha Isabelle Moreira <code@agatha.dev> wrote:
Hi,

The kernel documentation says that any function that uses more than 512
bytes on the stack is a candidate for change.

However, it doesn't say under what conditions (what config options).

I found 193 functions matching, some with stacks quite larger than that.
I suspect this could be the result of some config options, maybe.

What would you recommend me checking?

--
Agatha Isabelle Moreira
Systems Engineer | C

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


--
Thank you
Warm Regards
Anuz