Re: Kernel thread stack usage



On Nov 11, 2007, at 9:31 AM, Julian Elischer wrote:

Also, and others may want to pipe in on this, it might go in
machine dependent code because it is *theoretically* we could port one day to a machine with an upward growing stack.

This is not theoretical at all: On ia64 there are 2 stacks. One
growing down and one growing up. The downward stack is used for
stack-based variables and the pward growing stack is used by
the processor for stacked registers.

The code suggested will not be meaningful on ia64.

--
Marcel Moolenaar
xcllnt@xxxxxxx


_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"