Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 17:45:05 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        mjacob@feral.com
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: VM_STACK on the alpha.. check please? 
Message-ID:  <199901270945.RAA11288@spinner.netplex.com.au>
In-Reply-To: Your message of "Tue, 26 Jan 1999 20:08:03 PST." <Pine.LNX.4.04.9901262001540.22055-100000@feral-gw> 

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Jacob wrote:
> 
> Support for it doesn't appear to be implemented at all- are you asking
> whether someone would make sure it's implemented, or whether (for now) at
> least alpha kernels keep compiling and running if you turn it on as a
> default option?

It looked to me as though it was.  grow_stack() is in vm/*, not in alpha/
machdep.c.  It should compile, but does it work? :-)  That's the question.

sys/alpha/alpha/machdep.c:#ifndef VM_STACK
sys/alpha/alpha/machdep.c:       * know how to implement it for the VM_STACK case.  Also, we would
sys/alpha/alpha/machdep.c:       * non VM_STACK case.
sys/alpha/alpha/trap.c:#ifndef VM_STACK
sys/alpha/alpha/vm_machdep.c:#ifndef VM_STACK

Add options VM_STACK, recompile and test please. :-)  If it boots and 
runs, then we can unifdef -DVM_STACK which will solve a few problems.

I wish I had an Alpha. :-)

> > Can a couple of the Alpha folks please do me a favor and have a look at
> > the VM_STACK kernel compile option and check that it works for the alpha?
> > It's in a pretty sensitive area (stack growth).  It adds a MAP_STACK option
> > for mmap(), primarily for linux threads support.
> > 
> > Whether MAP_STACK works on the alpha is less important at the moment than
> > whether the kernel compiles and runs OK.  The option needs to be unifdef'ed
> > if we can.

Cheers,
-Peter



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901270945.RAA11288>