Re: upwards growing stacks ??

Ralf Baechle (ralf@uni-koblenz.de)
Tue, 5 Oct 1999 11:17:19 +0200


On Sun, Oct 03, 1999 at 10:12:17PM -0500, Linas Vepstas wrote:

> I've been porting the kernel to the ESA/390 architecture (mainframe)
> and have had the occasion to rethink the subroutine linkage. In particular,
> I have some weak reasons to want the stack to grow up, not down. However,
> the unix tradition & linux in particular usually have the stack grow down.
> So the questions:
>
> -- is it a bad idea to make the stack grow up?
> -- has anyone done this before w/ linux? (doesn't seem like it ...)
>
> -- should I do this, or should I stick to the traditional design?

Over the years I've ran over a number of pieces of code that would need to
be fixed because they assume that the sky is blue, Microsoft is good
and stacks always grow down ;-) So these are some weak reasons having
for downward growing stacks.

Ralf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/