View Single Post
Old 09 February 2009, 11:58   #4
alexh
Thalion Webshrine
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 11,880
The stack size is nothing to do with caches.

It is an area of main memory reserved for pushing & popping data to/from whilst programs are running and multi-tasking.

If you imagine there are two programs running, when swapping from one to the other the OS must preserve all CPU register values all flag values all branch return values etc. (very oversimplified)

The more programs you run simultaneously and the more they use the stack locally the more stack you need

http://aminet.net/package/util/boot/StackAttack2
alexh is offline  
 
Page generated in 0.08445 seconds with 9 queries