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

Re: Adding the system stack to the root set

Thread Previous | Thread Next
Nicholas Clark
July 11, 2002 07:57
Re: Adding the system stack to the root set
Message ID:
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

Part of my confusion w.r.t. giving the useful answer earlier is that I am
aware that the guy doing the ARM linux port said that unlike x86 there is
some fun on ARM doing a kernel oops backtrace. If I remember correctly
(which I may not) this- because there are lots of CPU registers, it is quite
likely that some contain addresses of things.
Hence you can't assume that the only things that get stacked that look like
addresses are from program counters and suchlike.

Nicholas Clark

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About