In mm/memory.c, function verify_area(), there is a test that looks like
if (expand_stack(vma, start))
goto good_area;
but that test is actually reversed, and should be
if (expand_stack(vma, start) == 0)
goto good_area;
(after applying the above patch and compiling the new kernel, it really
_is_ a good idea to run crashme - it's a reasonably useful test even if
it by no means is conclusive).
Another administrative note: I said earlier that I couldn't find the proper
attribution for the "profile.c" program I sent out. The original author of
that program is Jose Manuel Garcia Valdearenas <jmgarcia@babia.dit.upm.es>
(but don't blame him for bugs, the version I sent out had been changed by me)
Linus