Re: Stack Sizes
Anuz Pratap Singh Tomar <[email protected]> Fri, 12 Jun 2026 10:11:28 +0100
| Newsgroups | org.kernelnewbies.kernelnewbies |
|---|---|
| Message-ID | <CAJnfX5tXSDUPWnCXRxnrcpsbOW3P2Ecvvj6kW34Khi_7JBY1kQ@mail.gmail.com> |
--===============6010011590802721558== Content-Type: multipart/alternative; boundary="0000000000004485a906540add41" --0000000000004485a906540add41 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFAM Agatha Isabelle Moreira <code@agath= a.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 > [email protected] > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > --=20 Thank you Warm Regards Anuz --0000000000004485a906540add41 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>This question might be worth asking in kernel Janitor= mailing list. They also use a few tools for static code checking.=C2=A0</d= iv></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"l= tr" class=3D"gmail_attr">On Fri, Jun 12, 2026 at 5:05=E2=80=AFAM Agatha Isa= belle Moreira <<a href=3D"mailto:[email protected]">[email protected]</a>>= ; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px= 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br> <br> The kernel documentation says that any function that uses more than 512<br> bytes on the stack is a candidate for change.<br> <br> However, it doesn't say under what conditions (what config options).<br= > <br> I found 193 functions matching, some with stacks quite larger than that.<br= > I suspect this could be the result of some config options, maybe.<br> <br> What would you recommend me checking?<br> <br> -- <br> Agatha Isabelle Moreira<br> Systems Engineer | C<br> <br> _______________________________________________<br> Kernelnewbies mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Kernel= [email protected]</a><br> <a href=3D"https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" = rel=3D"noreferrer" target=3D"_blank">https://lists.kernelnewbies.org/mailma= n/listinfo/kernelnewbies</a><br> </blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Th= ank you <br>Warm Regards<br>Anuz<br></div> --0000000000004485a906540add41-- --===============6010011590802721558== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list [email protected] https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============6010011590802721558==--