RE: Questions on the stack for IA64

From: Luck, Tony <>
Date: 2004-04-15 02:06:18
>Another question on this, who allocates the memory for
>the backing store? What if the RSE runs out of memory

For the user ... the kernel allocates space for RSE.  If it
runs out, then the kernel will grow the vma (just like it
does when you run out of regular stack ... except the RSE
grows up to higher addresses instead of down to lower addresses).

In the kernel the RSE starts just above the task structure and
grows up towards the stack which is growing down from the 
the pt_regs that are allocated at the top of the pages allocated
for the task.  Running out of kernel RSE (or stack) results in
clobbering the switch_stack which lies in between. There is
a pretty ascii picture in include/asm-ia64/ptrace.h

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Wed Apr 14 12:07:05 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:25 EST