standardize small stack frame sizes in ZFS code
Some of the functions in ZFS uses very large stack frames. This makes it hard to port them to Linux (8k stacks) and introduces some risk for ia32 (12k stacks). We should investigate enforcing smaller stack frame sizes and what existing code uses larger stack frames.
Updated by Rich Lowe about 9 years ago
The trivial way to do this is to add -_gcc=-Wframe-larger-than=<X> for whatever X to the uts Makefiles (or just the ZFS makefiles, if you'd insist, but I happen to know that 99% of the kernel is clean, for reasonable values of X), and then fix what comes up.