develooper Front page | perl.perl6.internals | Postings from July 2002

Re: Adding the system stack to the root set

Thread Previous
From:
Tom Hughes
Date:
July 11, 2002 23:53
Subject:
Re: Adding the system stack to the root set
Message ID:
7536c2544b.tom@compton.compton.nu
In message <20020711000549.J49532@plum.flirble.org>
          Nicholas Clark <nick@ccl4.org> wrote:

> On Wed, Jul 10, 2002 at 06:49:06PM -0400, Dan Sugalski wrote:
> > Yes, this is an issue for systems with a chunked stack. As far as I
> > know that only applies to the various ARM OSes, and for those we'll
> > have to have some different system specific code to deal with the
> > stack. (Which is fine)
> 
> Sorry, I wasn't clear in my previous reply to your private message.
> ARM Linux doesn't use a chunked stack. It's contiguous, and (for example)
> the Bohem garbage collector does work on it. I would expect NetBSD ARM
> doesn't either. (There is a FreeBSD port to StrongARM, but its mailing
> list is very very quiet). So I don't think those two will pose undue
> problems.

As far as I know all the ARM unixes use a contiguous stack - it's
just RISC OS that uses the chunked stack I believe.

I believe you can always tell by looking at where sl points and seeing
if there is a valid chunk descriptor there and then following it's prev
pointer to get the previous chunk if there is one.

Tom

-- 
Tom Hughes (tom@compton.nu)
http://www.compton.nu/


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About