On Fri, Mar 10, 2000 at 12:55:42PM +0100, Hans Aberg wrote:
> I know that Mach certainly knows how to enlarge the stack. But what about
> the UNIX kernel, does it not know that too?

I believe it does; one can set the stack ulimit to unlimited.
The ulimit is (probably?) not the fixed size of the stack, but rather
a stopgap to detect unbounded recursion.

> If one runs Hugs under Mach, and Mach knows how to enlarge the stack, is
> there any point of letting Hugs STG have its own stack. I mean, is that not
> going to be slower with a stack implemented on higher level?

Well, the difference (with a well-written software stack) is one if
in software per stack operation versus a hardware check.

-- 
Antti-Juhani Kaijanaho
http://www.iki.fi/gaia/

Reply via email to