Messages in this thread | | | Date | Wed, 25 Feb 2009 11:29:12 -0300 | Subject | Re: [PATCH][trivial] crypto: tcrypt - reduce stack size | From | Thiago Galesi <> |
| |
On Wed, Feb 25, 2009 at 11:24 AM, Frank Seidel <fseidel@suse.de> wrote: > Herbert Xu wrote: >>> - char output[1024]; >> >> How about just making it static? > > Well, it was static before. But there > are efforts to reduce current stack memory > footprints.
If you write static char output[1024]; (even inside a function) it's not allocated on the stack.
-- - Thiago Galesi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |