Re: 4k stacks in 2.6

David S. Miller
2004-05-26T18:13:11Z

On Wed, 26 May 2004 14:50:14 +0200
Jörn Engel <joern@wohnheim.fh-wedel.de> wrote:

> Change gcc to catch stack overflows before the fact and disallow
> module load unless modules have those checks as well.

That's easy, just enable profiling then implement a suitable
_mcount that checks for stack overflow. I bet someone has done
this already.

For full coverage, some trap entry handler checks in entry.S
would be necessary too of course.