Kernel thread stack usage

Julian Elischer julian at elischer.org
Sun Nov 11 16:14:55 PST 2007


Marcel Moolenaar wrote:
> 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.
> 


I KNEW I'd heard something about an upward growing stack recently...



More information about the freebsd-arch mailing list